https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109872
Bug ID: 109872 Summary: [12 Regression] ICE on valid C++ code Product: gcc Version: 12.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: lozko.roma at gmail dot com Target Milestone: --- Created attachment 55093 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55093&action=edit bug reproducer ccache 4.8 fails to compile with GCC 12.3, I've reduced it to following code (also in attachments). https://godbolt.org/z/39d1c1EE3 Test case can be compiled with just `g++-12 -c test.cpp` to reproduce. GCC 13.1 seems not affected by this as well as GCC 12.2.