https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90899
Bug ID: 90899 Summary: [8/9/10 Regression] ICE in add_to_same_comdat_group, at symtab.c:459 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: gs...@t-online.de Target Milestone: --- Started with gcc-8 (before 20180525) : $ cat z1.c __attribute__ ((target_clones ("default", "arch=slm"))) static int f () { return 0; } __attribute__ ((alias ("f"))) __typeof (f) g; $ gcc-7 -c z1.c $ $ gcc-10-20190616 -c z1.c during IPA pass: targetclone z1.c:4:1: internal compiler error: in add_to_same_comdat_group, at symtab.c:459 4 | __typeof (f) g; | ^~~~~~~~ 0x6f12ac symtab_node::add_to_same_comdat_group(symtab_node*) ../../gcc/symtab.c:459 0x12446ee create_dispatcher_calls ../../gcc/multiple_target.c:161 0x12446ee ipa_target_clone ../../gcc/multiple_target.c:523 0x12446ee execute ../../gcc/multiple_target.c:555