https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111010
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2023-08-14 Priority|P3 |P2 Ever confirmed|0 |1 Target|i386-pc-solaris2.11 |i386-pc-solaris2.11 | |i?86-linux-gnu Keywords| |needs-bisection --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- I can confirm on x86_64-unknown-linux-gnu if you add -fno-omit-frame-pointer: > ../../gcc13-g/gcc/cc1 -quiet t.c -m32 -O3 -fPIC -march=pentium4 > -mtune=generic -fpreprocessed -w -fno-omit-frame-pointer t.c: In function 'c': t.c:21:1: error: unable to find a register to spill 21 | } | ^ t.c:21:1: error: this is the insn: (insn 109 283 243 9 (set (reg:DI 295) (ior:DI (ashift:DI (zero_extend:DI (mem:SI (plus:SI (mult:SI (reg:SI 329 [orig:229 _118 ] [229]) (const_int 4 [0x4])) (reg/f:SI 328 [orig:83 a.0_1 ] [83])) [3 MEM[(unsigned int *)_11]+0 S4 A32])) (const_int 32 [0x20])) (zero_extend:DI (mem:SI (plus:SI (mult:SI (reg:SI 294 [233]) (const_int 4 [0x4])) (reg/f:SI 328 [orig:83 a.0_1 ] [83])) [3 MEM[(unsigned int *)_15]+0 S4 A32])))) "t.c":15:7 681 {*concatsidi3_3} (expr_list:REG_DEAD (reg/f:SI 328 [orig:83 a.0_1 ] [83]) (expr_list:REG_DEAD (reg:SI 329 [orig:229 _118 ] [229]) (expr_list:REG_DEAD (reg:SI 294 [233]) (nil))))) during RTL pass: reload t.c:21:1: internal compiler error: in lra_split_hard_reg_for, at lra-assigns.cc:1871 0x15066db _fatal_insn(char const*, rtx_def const*, char const*, int, char const*) /space/rguenther/src/gcc-13-branch/gcc/rtl-error.cc:108 0x131bb9a lra_split_hard_reg_for() /space/rguenther/src/gcc-13-branch/gcc/lra-assigns.cc:1871 0x1314d74 lra(_IO_FILE*) /space/rguenther/src/gcc-13-branch/gcc/lra.cc:2451 0x12bdb69 do_reload /space/rguenther/src/gcc-13-branch/gcc/ira.cc:5963 0x12be060 execute /space/rguenther/src/gcc-13-branch/gcc/ira.cc:6149 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.