From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 09C423858C56; Tue, 26 Mar 2024 08:15:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 09C423858C56 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711440911; bh=4kocvxZEqchbfj3ffy4GeRr1Vv2WNhY7NRENhxhwB8s=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fnz41MhlV8jvqcgOX6iUdAhdirQhbOj1ISV4sqjY8PkDsCQql/yCcZ+Jj5BsJteIS vSmdvYfWiT+I1eq995Axq+aktyMN9ASdT6BTbPjFHWfnRr83cVflLCwT5tPMsVnnaa Hmu7T+txmop6kqwrqBQ/CK4s7T/WtcUYgEOMdPak= From: "redi at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/96396] initializer_list in `-fconcepts -std=c++11` reports internal compiler error Date: Tue, 26 Mar 2024 08:15:10 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.2.0 X-Bugzilla-Keywords: ice-on-valid-code 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: keywords 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=3D96396 Jonathan Wakely changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|needs-bisection | --- Comment #4 from Jonathan Wakely --- Fixed by r13-3639 c++: change -fconcepts to mean C++20 concepts It was always weird that -fconcepts in C++17 mode meant the same thing as -fconcepts-ts in C++20 mode; this patch harmonizes the flags so that for = TS concepts you always need to write -fconcepts-ts. In the unlikely event anyone is still using -fconcepts in C++17 mode, they can either fix their code to work with C++20 concepts or adjust the compi= ler flag. It still ICEs with -fconcepts-ts -std=3Dc++11 But I'm not surprised that combination doesn't work, the Concepts TS is supposed to be used with C++17.=