'make check' 980315 on powerpc-unknown-linux-gnulibc1

Elliot Lee sopwith@cuc.edu
Sun Mar 22 10:38:00 GMT 1998


If I compile the test case with -O2 -fno-strength-reduce, the problem does
not occur, so something used by strength reduction optimizations is
probably the problem ;-)

FAIL: gcc.c-torture/compile/920501-4.c,  -O2
FAIL: gcc.c-torture/compile/920501-4.c,  -O2 -fomit-frame-pointer
-finline-functions
FAIL: gcc.c-torture/compile/920501-4.c,  -O2 -fomit-frame-pointer
-finline-functions -funroll-loops
FAIL: gcc.c-torture/compile/920501-4.c,  -O2 -fomit-frame-pointer
-finline-functions -funroll-all-loops
FAIL: gcc.c-torture/compile/920501-4.c,  -O2 -g

920501-4.c: In function `foo':
920501-4.c:49: Could not find a spill register
(insn:QI 618 705 733 (parallel[
            (set (mem:SI (plus:SI (reg:SI 1 r1)
                        (const_int 32812)))
                (lshiftrt:SI (neg:SI (abs:SI (reg/v:SI 66 ctr)))
                    (const_int 31)))
            (clobber (scratch:SI))
        ] ) 540 {sleu+25} (nil)
    (expr_list:REG_UNUSED (scratch:SI)
        (nil)))
gcc: Internal compiler error: program cc1 got fatal signal 6

-- Elliot
Chicken Little was right.




More information about the Gcc-bugs mailing list