This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/24319] New: amd64 register spill error with -fschedule-insns


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]