From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BA69638582AB; Tue, 16 May 2023 18:40:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BA69638582AB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684262410; bh=z9TseCCQPSt23mkWFSrIQPXuOASXi1iY8sJVqoNyTpE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VZDFdKs+SmIfFQofFAm3psHGy3+IoImrgAFNOH7ovR2pGfpFVhBgXqUTPZc84q5tW Wqvn5LN5IvKK5lyqUJUZ5uESnmQfH+NzgH8e1C5UMoMAOt/fHduYPoiaZqbnuujBLs yKb7AGgyfwWWbwYuE+s9HAkK1WRIs1jSgIrLmuT0= From: "mpolacek 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: Tue, 16 May 2023 18:40: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: 12.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status target_milestone everconfirmed cf_reconfirmed_on priority keywords short_desc 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 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Target Milestone|--- |10.5 Ever confirmed|0 |1 Last reconfirmed| |2023-05-16 Priority|P3 |P2 Keywords| |rejects-valid Summary|initializer_list not usable |[10/11/12/13/14 Regression] |in constant expressions in |initializer_list not usable |a template |in constant expressions in | |a template CC| |mpolacek at gcc dot gnu.org --- Comment #1 from Marek Polacek --- Stopped working with r8-509-g6064858051d6e0 commit 6064858051d6e07bb89f3384c0d828f07c576c7a Author: Jason Merrill Date: Tue May 9 09:48:58 2017 -0400 PR c++/70167 - array prvalue treated as lvalue=