seen with 20091228 trunk and 4.4 branch on i486-linux-gnu, not seen with 4.3 branch (opening new report, because PR39431 is fixed for 4.4 and 4.5). Adding -fomit-frame-pointer avoids the ice.
Matthias
$ /usr/lib/gcc-snapshot/bin/gcc -g -O2 -fno-gcse -fno-inline-functions -fno-unit-at-a-time -fstack-protector -c cvm.i
cvm.c: In function '_ILCVMInterpreter':
cvm.c:889:1: error: unable to find a register to spill in class 'GENERAL_REGS'
cvm.c:889:1: error: this is the insn:
(insn 11992 11991 11993 863 cvm_ptr.c:66 (set (mem:DI (plus:SI (plus:SI (mult:SI (reg:SI 6750 [ D.20325 ]) (const_int 8 [0x8])) (reg/f:SI 6746 [ tempptr.3460 ])) (const_int 4 [0x4])) [16 S8 A64])
(reg:DI 12123)) 88 {*movdi_2} (expr_list:REG_DEAD (reg:DI 12123) (expr_list:REG_DEAD (reg:SI 6750 [ D.20325 ]) (expr_list:REG_DEAD (reg/f:SI 6746 [ tempptr.3460 ]) (nil)))))
cvm.c:889:1: internal compiler error: in spill_failure, at reload1.c:2141
Please submit a full bug report,
with preprocessed source if appropriate.
seen with 20091228 trunk and 4.4 branch on i486-linux-gnu, not seen with 4.3 branch (opening new report, because PR39431 is fixed for 4.4 and 4.5). Adding -fomit- frame-pointer avoids the ice.
Matthias
$ /usr/lib/ gcc-snapshot/ bin/gcc -g -O2 -fno-gcse -fno-inline- functions -fno-unit-at-a-time -fstack-protector -c cvm.i ter':
(const_ int 8 [0x8]))
( reg/f:SI 6746 [ tempptr.3460 ]))
(const_ int 4 [0x4])) [16 S8 A64])
(expr_ list:REG_ DEAD (reg:SI 6750 [ D.20325 ])
(expr_ list:REG_ DEAD (reg/f:SI 6746 [ tempptr.3460 ])
(nil) ))))
cvm.c: In function '_ILCVMInterpre
cvm.c:889:1: error: unable to find a register to spill in class 'GENERAL_REGS'
cvm.c:889:1: error: this is the insn:
(insn 11992 11991 11993 863 cvm_ptr.c:66 (set (mem:DI (plus:SI (plus:SI (mult:SI (reg:SI 6750 [ D.20325 ])
(reg:DI 12123)) 88 {*movdi_2} (expr_list:REG_DEAD (reg:DI 12123)
cvm.c:889:1: internal compiler error: in spill_failure, at reload1.c:2141
Please submit a full bug report,
with preprocessed source if appropriate.