https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107897
Bug ID: 107897 Summary: [13 Regression] ICE in verify_curr_properties, at passes.cc:2201 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: gs...@t-online.de Target Milestone: --- Started between 20221030 and 20221106, with file g++.dg/cpp2a/concepts-lambda3.C : $ gcc-13-20221127 -c concepts-lambda3.C -std=c++20 -flto -fno-inline concepts-lambda3.C:40:13: error: mangling of 'main(int, char**)::<lambda(auto:5)> [with auto:5 = int]' as '_ZZ4mainENKUlT_E1_clIiEEDaS_' conflicts with a previous mangle 40 | auto a0 = [](IsNotLarge auto a) { return [](auto b){ return b; }; }; | ^ concepts-lambda3.C:37:3: note: previous mangling 'int main(int, char**)::<lambda(auto:3)>::_ZZ4mainENKUlT_E1_clIiEEDaS_(int) const' 37 | [](auto t) requires true { return t; }(5); | ^ concepts-lambda3.C:40:13: note: a later '-fabi-version=' (or =0) avoids this error with a change in mangling 40 | auto a0 = [](IsNotLarge auto a) { return [](auto b){ return b; }; }; | ^ during IPA pass: targetclone concepts-lambda3.C:63:1: internal compiler error: in verify_curr_properties, at passes.cc:2201 63 | } | ^ 0x10c1cb5 verify_curr_properties ../../gcc/passes.cc:2201 0x10c23dd do_per_function ../../gcc/passes.cc:1701