From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 338FF385842A; Mon, 15 May 2023 07:54:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 338FF385842A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684137258; bh=X+cZTq+1992hNb0OPwdTS0xMMcajdu8YVTDwZuzKTx0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Qx2Gf0ySMRDoIlYA9w0n7FaZBuavgSvt7b//kElMISDSDFuKMjz/3BqjIL2EZehue QeJUZ7PmW5Ij5xzyUJ6Hv04mvtqojfW1Bb5R1Z5Eg+hAXCoBzEgqaA5fQH9KF+sSd0 TadawHgC+fxyX43s7tH97i8z9M4Ql82orlZM8dpU= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/109241] [12/13/14 Regression] ICE Segmentation fault for statement expression with a local type inside inside a generic lambda inside a generic lambda since r13-6722-gb323f52ccf966800 Date: Mon, 15 May 2023 07:54:17 +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-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: jason at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.4 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D109241 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[12/13 Regression] ICE |[12/13/14 Regression] ICE |Segmentation fault for |Segmentation fault for |statement expression with a |statement expression with a |local type inside inside a |local type inside inside a |generic lambda inside a |generic lambda inside a |generic lambda since |generic lambda since |r13-6722-gb323f52ccf966800 |r13-6722-gb323f52ccf966800 CC| |rguenth at gcc dot gnu.org --- Comment #8 from Richard Biener --- (In reply to Marek Polacek from comment #5) > In GCC 12 this test still ICEs: >=20 > template > void foo(T) { > [](auto){ > [] { > struct X {}; > }; > }; > } >=20 > template void foo(int); How so? I can't reproduce. Likewise for PR109850. Is trunk actually fixe= d? Please update known-to-work.=