From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 16BD53858C55; Fri, 30 Sep 2022 10:56:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 16BD53858C55 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664535402; bh=JBasOZnlULTzf13rWaArhgwIJVDwK8AKkJsDZxkefaw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=UF7j3pYZOcz5uZLTeGMmLEWc48tOuAIKZX9qzY91oD685m/QXBmwqgBtN1EDdqvTa EtVGQu4o25USS5eQrEjyahE9cilcrIXTcb692r6ZsD5jvuD/iF/llbLkoyS3TIPSg6 Dxq6nn2l8QKzFsPeZVd2OIuGmwV7y0Dx47+93psM= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/107092] std::for_each_n and its friends incorrectly accept size parameters that are not convertible to an integer type Date: Fri, 30 Sep 2022 10:56:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 12.1.0 X-Bugzilla-Keywords: accepts-invalid X-Bugzilla-Severity: normal X-Bugzilla-Who: redi at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107092 --- Comment #2 from Jonathan Wakely --- https://cplusplus.github.io/LWG/issue3213 is relevant, but we didn't address the ambiguity question.=