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]

egcs-1.0.1: Could not find a spill register (-msupersparc -O)



Following config:

2 tested:

SunOS  5.5.1 Generic sun4m sparc SUNW,SPARCstation-20
SunOS  5.5.1 Generic sun4u sparc SUNW,Ultra-2


egcs-1.0.1  release


compile command: gcc -msupersparc -O

compile error

Could not find a spill register 
(insn:HI 2031 4154 4155 (parallel[ 
            (set (mem:SI (plus:SI (reg:SI 30 %fp)
                        (const_int -4720)))
                (div:SI (mem:SI (plus:SI (reg:SI 30 %fp)
                            (const_int -4720)))
                    (reg/v:SI 27 %i3)))
            (clobber (scratch:SI))
        ] ) 245 {divsi3} (insn_list 2030 (nil))
    (expr_list:REG_UNUSED (scratch:SI)
        (nil)))


-msupersparc and -O either alone do work.



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