This is the mail archive of the gcc@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]

FAIL: gcc.c-torture/compile/20000804-1.c -O0 with PIC on gcc-4_4-branch


   I am seeing a new failure on x86_64-apple-darwin10 in current gcc 4.4 branch
that wasn't present in the gcc 4.4.0 release. At -m32, the testsuite failure...

FAIL: gcc.c-torture/compile/20000804-1.c  -O0  (test for excess errors)

appears with the error logged as...

Executing on host: /sw/src/fink.build/gcc44-4.4.099-20090711/darwin_objdir/gcc/xgcc -B/sw/src/fink.build/gcc44-4.4.099-20090711/darwin_objdir/gcc/   -O3 -fomit-frame-pointer  ...skipping...
Executing on host: /sw/src/fink.build/gcc44-4.4.099-20090711/darwin_objdir/gcc/xgcc -B/sw/src/fink.build/gcc44-4.4.099-20090711/darwin_objdir/gcc/   -O0  -w -c  -m32 -o 20000804-1.o /sw/src/fink.build/gcc44-4.4.099-20090711/gcc-4.4-20090711/gcc/testsuite/gcc.c-torture/compile/20000804-1.c    (timeout = 300)
/sw/src/fink.build/gcc44-4.4.099-20090711/gcc-4.4-20090711/gcc/testsuite/gcc.c-torture/compile/20000804-1.c: In function 'f':
/sw/src/fink.build/gcc44-4.4.099-20090711/gcc-4.4-20090711/gcc/testsuite/gcc.c-torture/compile/20000804-1.c:16: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
/sw/src/fink.build/gcc44-4.4.099-20090711/gcc-4.4-20090711/gcc/testsuite/gcc.c-torture/compile/20000804-1.c:16: error: 'asm' operand has impossible constraints
compiler exited with status 1
output is:
/sw/src/fink.build/gcc44-4.4.099-20090711/gcc-4.4-20090711/gcc/testsuite/gcc.c-torture/compile/20000804-1.c: In function 'f':
/sw/src/fink.build/gcc44-4.4.099-20090711/gcc-4.4-20090711/gcc/testsuite/gcc.c-torture/compile/20000804-1.c:16: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
/sw/src/fink.build/gcc44-4.4.099-20090711/gcc-4.4-20090711/gcc/testsuite/gcc.c-torture/compile/20000804-1.c:16: error: 'asm' operand has impossible constraints

FAIL: gcc.c-torture/compile/20000804-1.c  -O0  (test for excess errors)
Excess errors:
/sw/src/fink.build/gcc44-4.4.099-20090711/gcc-4.4-20090711/gcc/testsuite/gcc.c-torture/compile/20000804-1.c:16: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
/sw/src/fink.build/gcc44-4.4.099-20090711/gcc-4.4-20090711/gcc/testsuite/gcc.c-torture/compile/20000804-1.c:16: error: 'asm' operand has impossible constraints

The failure doesn't occur at -m32 if I pass -fno-PIC on the compilation line. Could someone with current gcc 4.4 branch
on x86_64-*-linux check to see if they get the same failure with -m32 -fPIC at -O0 for gcc.c-torture/compile/20000804-1.c?
This looks like a regression from gcc 4.4.0.
             Jack


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