From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BE5A33854143; Thu, 18 May 2023 17:07:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BE5A33854143 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684429623; bh=1OHW+2H9vkLKtjtd7joJPYMDhUfbRcYnddReuPECGhs=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nWYebhufWY5/5HlcG091B3/SdKfzMNeDGC8G6qhcff4Twlkgoijr9HFD4MSEcYYK1 IpX9R1cEqFvqOaEeRyI6WF0ATkoNQATl7RJpLz/zN2hsvP/HOsy7oruj3/qmbiEftG R7EvUvR2Sg0Dw/wOFYA5rkDjzvz7/izGo5drAEhs= From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109876] [10/11/12/13/14 Regression] initializer_list not usable in constant expressions in a template Date: Thu, 18 May 2023 17:07:01 +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: ppalka at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: mpolacek at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also cc 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 Patrick Palka changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D89144 CC| |ppalka at gcc dot gnu.org --- Comment #5 from Patrick Palka --- Seems related to PR89144 too -- there we were mishandling defining a non-dependent static std::initializer_list member variable, here we're subsequently trying to use it.=