This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/37659] unable to find a register to spill in class ‘AREG’
- From: "edwintorok at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Sep 2008 16:43:18 -0000
- Subject: [Bug rtl-optimization/37659] unable to find a register to spill in class ‘AREG’
- References: <bug-37659-15165@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from edwintorok at gmail dot com 2008-09-27 16:43 -------
the error message for the above testcase:
$ gcc-4.3 -fschedule-insns v.i
v.i: In function ?foo?:
v.i:3: error: unable to find a register to spill in class ?AREG?
v.i:3: error: this is the insn:
(insn 17 20 18 2 v.i:2 (parallel [
(set (reg:SI 1 dx [66])
(div:SI (reg:SI 3 bx [orig:61 D.1552 ] [61])
(reg:SI 1 dx [orig:60 D.1553 ] [60])))
(set (reg:SI 67)
(mod:SI (reg:SI 3 bx [orig:61 D.1552 ] [61])
(reg:SI 1 dx [orig:60 D.1553 ] [60])))
(clobber (reg:CC 17 flags))
]) 318 {*divmodsi4_nocltd} (expr_list:REG_DEAD (reg:SI 3 bx [orig:61
D.1552 ] [61])
(expr_list:REG_DEAD (reg:SI 1 dx [orig:60 D.1553 ] [60])
(expr_list:REG_UNUSED (reg:SI 67)
(expr_list:REG_UNUSED (reg:CC 17 flags)
(nil))))))
v.i:3: confused by earlier errors, bailing out
Preprocessed source stored into /tmp/ccYIfwlr.out file, please attach this to
your bugreport.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37659