FYI I reported this crash to the GCC bugzilla yesterday: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109850
and it was closed as a dup of this: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109241 If people want to watch it. On Sun, 2023-05-14 at 10:50 +0000, Thomas Backlund via Gcc wrote: > ccache 4.8.0 build fails with ICE when building with gcc 12.3.0: > https://bugs.mageia.org/show_bug.cgi?id=31893#c0 > regression introduced in gcc-12-20230421 snapshot by commit: > > From 890d711a2477119a34cf435f6159b6253b124374 Mon Sep 17 00:00:00 > 2001 > From: Jason Merrill < > ja...@redhat.com > > > Date: Thu, 16 Mar 2023 15:11:25 -0400 > Subject: [PATCH 35/61] c++: generic lambda, local class, __func__ > [PR108242] > > I fixed gcc ICE by backporting from upstream master branch: > > From 4872e46e080c6695dfe1f9dc9db26b4703bc348c Mon Sep 17 00:00:00 > 2001 > From: Jason Merrill < > ja...@redhat.com > > > Date: Wed, 22 Mar 2023 16:11:47 -0400 > Subject: [PATCH] c++: local class in nested generic lambda [PR109241] > > -- > Thomas