https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65287
Bug ID: 65287 Summary: Current trunk ICE in address_matters_p, at symtab.c:1908 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: ppluzhnikov at google dot com Created attachment 34927 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34927&action=edit test case Continued from PR 65263 r221040 is also possibly causing: ../sysdeps/gnu/siglist.c:77:1: internal compiler error: in address_matters_p, at symtab.c:1908 when building trunk GLIBC (seen with GCC @r221125; same source builds with GCC @r220312). ../sysdeps/gnu/siglist.c:77:1: internal compiler error: in address_matters_p, at symtab.c:1908 versioned_symbol (libc, __new_sys_sigabbrev, sys_sigabbrev, GLIBC_2_1); ^ 0x747118 symtab_node::address_matters_p() ../../gcc/symtab.c:1908 0x10e1dcb ipa_icf::sem_variable::merge(ipa_icf::sem_item*) ../../gcc/ipa-icf.c:1723 0x10e4b21 ipa_icf::sem_item_optimizer::merge_classes(unsigned int) ../../gcc/ipa-icf.c:2955 0x10ed8c4 ipa_icf::sem_item_optimizer::execute() ../../gcc/ipa-icf.c:2217 0x10ef521 ipa_icf_driver ../../gcc/ipa-icf.c:3034 0x10ef521 ipa_icf::pass_ipa_icf::execute(function*) ../../gcc/ipa-icf.c:3081 Please submit a full bug report, Reproduces with: gcc-svn-r221125/bin/gcc -c -O2 /tmp/t.i