https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115688
Bug ID: 115688 Summary: ICE on simple test case from r15-703-gb390b011569635 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: bergner at gcc dot gnu.org Target Milestone: --- After r15-703-gb390b011569635, we're seeing test case pr111380-2.c ICE on 32-bit BE compiles. It hits the new gcc_assert from the commit above. The failure looks like (ICEs for power4/5/6 and does not ICE for power7 and later): bergner@nilram:ICE$ cat ice.c long __attribute__ ((target ("vsx"))) foo (void) { return 0; } bergner@nilram:ICE$ gcc -S -m32 -O2 -mcpu=power5 -mno-vsx ice.c ice.c:3:1: internal compiler error: in rs6000_option_override_internal, at config/rs6000/rs6000.cc:3945 3 | { | ^ 0x11e208d7 rs6000_option_override_internal /home/bergner/gcc/gcc-fsf-mainline-rop-base/gcc/config/rs6000/rs6000.cc:3945 0x11e8ba57 rs6000_valid_attribute_p /home/bergner/gcc/gcc-fsf-mainline-rop-base/gcc/config/rs6000/rs6000.cc:24802 0x10abbe0b handle_target_attribute /home/bergner/gcc/gcc-fsf-mainline-rop-base/gcc/c-family/c-attribs.cc:5915 ...