From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BD0843858C39; Tue, 31 Jan 2023 15:25:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BD0843858C39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1675178759; bh=5m0NYm6IIXYp4W73E4irMhB8/28gKeBucaTvfOOrSEw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wJFxQgJD8OwfvJju3IETbUn+m3gkAg27CEyjBNd/KJjxybCan+SBxxZOXgbiN9PZT CiltTRqrmt+WiZuHxvD3Q9KtRxQFYHql4sv2pYgectRQS5IPCy9HcodmljUS3Eq2D4 V3RQb9hNge5WTGxUQ9sNQ0yiC4Y+T2gp4YkHKilw= From: "mpolacek at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/108606] [13 Regression] ICE in potential_constant_expression_1 with friend function declaration inside a local class of a generic/templated lambda Date: Tue, 31 Jan 2023 15:25:59 +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: 13.0 X-Bugzilla-Keywords: c++-lambda, ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: mpolacek 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: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D108606 Marek Polacek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #3 from Marek Polacek --- Started with r13-2965-g73d9b0e5947e16. commit 73d9b0e5947e162386f7e25d3851097cee1bb366 Author: Jason Merrill Date: Tue Sep 20 17:12:29 2022 -0400 c++: check DECL_INITIAL for constexpr=