[Bug rtl-optimization/46829] ICE: in spill_failure, at reload1.c:2105 with -fschedule-insns -fsched-pressure and variadic function
zsojka at seznam dot cz
gcc-bugzilla@gcc.gnu.org
Tue Dec 7 17:34:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46829
--- Comment #6 from Zdenek Sojka <zsojka at seznam dot cz> 2010-12-07 17:34:01 UTC ---
Created attachment 22674
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22674
different testcase
A bit different testcase
$ gcc -O -fschedule-insns -fsched-pressure pr46829-2.c
pr46829-2.c: In function 'foo':
pr46829-2.c:10:1: error: unable to find a register to spill in class 'AREG'
pr46829-2.c:10:1: error: this is the insn:
(insn 8 13 9 2 (parallel [
(set (reg:SI 37 r8)
(div:SI (reg:SI 2 cx [orig:59 b.0 ] [59])
(reg:SI 38 r9 [orig:60 a.1 ] [60])))
(set (reg:SI 1 dx [66])
(mod:SI (reg:SI 2 cx [orig:59 b.0 ] [59])
(reg:SI 38 r9 [orig:60 a.1 ] [60])))
(clobber (reg:CC 17 flags))
]) pr46829-2.c:8 353 {*divmodsi4}
(expr_list:REG_UNUSED (reg:SI 1 dx [66])
(expr_list:REG_UNUSED (reg:CC 17 flags)
(nil))))
pr46829-2.c:10:1: internal compiler error: in spill_failure, at reload1.c:2105
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
More information about the Gcc-bugs
mailing list