From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9F847385829F; Tue, 12 Dec 2023 00:39:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9F847385829F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1702341547; bh=+Fb6LnF6tW5roeWtc6tmSRjLK4RUX8Jn8yVYd8hO//A=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HKpLTRSHfOEuZXedwTdPiTldE/3Y6a53zwm/aczHlHr+aSIAtEFt1xOzCGlqbjqcT 7glOQHAICw2Z9xe2ms+71ChC0f+75uc5ixVsp2Vjnqlmm8oRt+H6vjgGA7willxXmy oPTJg+MIwKCe1KreorbH84Glq9nmmP2z4+Yc5j0s= From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109876] [11/12 Regression] initializer_list not usable in constant expressions in a template Date: Tue, 12 Dec 2023 00:39:07 +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: 12.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution short_desc 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=3D109876 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED Summary|[11/12/13 Regression] |[11/12 Regression] |initializer_list not usable |initializer_list not usable |in constant expressions in |in constant expressions in |a template |a template --- Comment #17 from Marek Polacek --- Fixed in GCC 13 and 14.=