https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116199
Bug ID: 116199 Summary: [15 Regression] reload ICE building glibc for m68k Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: jsm28 at gcc dot gnu.org CC: law at gcc dot gnu.org Target Milestone: --- Target: m68k-*-* Created attachment 58807 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58807&action=edit preprocessed source The following ICE building glibc for m68k-linux-gnu was introduced by: commit 88d16194d0c8a6bdc2896c8944bfbf3e6038c9d2 Author: Jeff Law <j...@ventanamicro.com> Date: Mon Jul 22 08:45:10 2024 -0600 [NFC][PR rtl-optimization/115877] Avoid setting irrelevant bit groups as live in ext-dce and is still present as of 7ecd6610528a301e349df273b624513ef3827321. Build the attached testcase with -O2 (not reduced, but pretty short anyway). during RTL pass: reload makedev.c: In function '__gnu_dev_makedev': makedev.c:34:316: internal compiler error: Segmentation fault 0x1b413ce internal_error(char const*, ...) /notnfs/josmyers/glibc-manual/src/gcc/gcc/diagnostic-global-context.cc:491 0xf02c3f crash_signal /notnfs/josmyers/glibc-manual/src/gcc/gcc/toplev.cc:321 0xe7990a operands_match_p(rtx_def*, rtx_def*) /notnfs/josmyers/glibc-manual/src/gcc/gcc/reload.cc:2252 0xe809b0 find_reloads(rtx_insn*, int, int, int, short*) /notnfs/josmyers/glibc-manual/src/gcc/gcc/reload.cc:2782 0xe9162d calculate_needs_all_insns /notnfs/josmyers/glibc-manual/src/gcc/gcc/reload1.cc:1469 0xe9162d reload(rtx_insn*, int) /notnfs/josmyers/glibc-manual/src/gcc/gcc/reload1.cc:983 0xcd577f do_reload /notnfs/josmyers/glibc-manual/src/gcc/gcc/ira.cc:5985 0xcd577f execute /notnfs/josmyers/glibc-manual/src/gcc/gcc/ira.cc:6161 Please submit a full bug report, with preprocessed source (by using -freport-bug). Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions.