This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/24319] New: amd64 register spill error with -fschedule-insns
- From: "erg at trifocus dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Oct 2005 20:48:30 -0000
- Subject: [Bug c/24319] New: amd64 register spill error with -fschedule-insns
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
erg@frogger:~/Factor/Factor$ gcc -O -fschedule-insns native/string.c
native/string.c: In function ?from_c_string?:
native/string.c:103: error: unable to find a register to spill in class ?DIREG?
native/string.c:103: error: this is the insn:
(insn 13 39 14 0 (parallel [
(set (reg:DI 2 cx [63])
(unspec:DI [
(mem:BLK (reg/f:DI 1 dx [orig:65 c_string ] [65]) [0
A8])
(reg:QI 0 ax [67])
(const_int 1 [0x1])
(reg:DI 2 cx [66])
] 20))
(use (reg:SI 19 dirflag))
(clobber (reg/f:DI 1 dx [orig:65 c_string ] [65]))
(clobber (reg:CC 17 flags))
]) 649 {*strlenqi_rex_1} (insn_list:REG_DEP_TRUE 11
(insn_list:REG_DEP_TRUE 9 (insn_list:REG_DEP_TRUE 10 (insn_list:REG_DEP_TRUE 12
(nil)))))
(expr_list:REG_DEAD (reg:SI 19 dirflag)
(expr_list:REG_DEAD (reg:DI 2 cx [66])
(expr_list:REG_DEAD (reg:QI 0 ax [67])
(expr_list:REG_DEAD (reg/f:DI 1 dx [orig:65 c_string ] [65])
(expr_list:REG_UNUSED (reg:CC 17 flags)
(expr_list:REG_UNUSED (reg/f:DI 1 dx [orig:65 c_string
] [65]) (nil))))))))
native/string.c:103: confused by earlier errors, bailing out
--
Summary: amd64 register spill error with -fschedule-insns
Product: gcc
Version: 4.0.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: erg at trifocus dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24319