Extra 3.3 -fpic/-fPIC testsuite failures on i686-unknown-linux-gnu
Kaveh R. Ghazi
ghazi@caip.rutgers.edu
Sat Jan 1 16:35:00 GMT 2005
I've been running testsuites on i686-pc-linux-gnu with -fpic/-fPIC
passes and have been getting some extra failures. Some of them
involve inline asm, which I'm not familiar with. I'd like to solicit
some feedback on which ones are:
A. Fixable in the testcase.
B. Expected failures, use dg-skip-if or equiv.
C. Real bugs in the compiler, file a PR.
Here's the batch from the 3.3.x branch as noted in this posting:
http://gcc.gnu.org/ml/gcc-testresults/2005-01/msg00029.html
Thanks,
--Kaveh
gcc.c-torture/compile/20000804-1.c: In function `f':
gcc.c-torture/compile/20000804-1.c:8: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
collect2: ld returned 1 exit status
FAIL: gcc.c-torture/execute/20020720-1.c compilation, -O1
FAIL: gcc.c-torture/execute/20020720-1.c compilation, -O2
FAIL: gcc.c-torture/execute/20020720-1.c compilation, -O3 -fomit-frame-pointer
FAIL: gcc.c-torture/execute/20020720-1.c compilation, -O3 -g
FAIL: gcc.c-torture/execute/20020720-1.c compilation, -Os
(The above has generally been skipped when it fails)
gcc.dg/20011119-1.c: In function `main':
gcc.dg/20011119-1.c:69: warning: asm operand 0 probably doesn't match constraints
gcc.dg/20011119-1.c:69: error: impossible constraint in `asm'
FAIL: gcc.dg/asm-names.c (test for excess errors)
Excess errors:
/tmp/ccQzl6UN.o(.text+0x13): undefined reference to `__GLOBAL_OFFSET_TABLE_'
/tmp/ccQzl6UN.o(.text+0x3e): undefined reference to `__GLOBAL_OFFSET_TABLE_'
/tmp/ccQzl6UN.o(.text+0x5b): undefined reference to `__GLOBAL_OFFSET_TABLE_'
g++.old-deja/g++.pt/asm1.C:7: error: can't find a register in class `BREG' while reloading `asm'
g++.old-deja/g++.pt/asm2.C:13: error: can't find a register in class `BREG' while reloading `asm'
--
Kaveh R. Ghazi ghazi@caip.rutgers.edu
More information about the Gcc-bugs
mailing list