public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* FAIL: gcc.c-torture/compile/20000804-1.c  -O0  with PIC on  gcc-4_4-branch
@ 2009-07-12 19:41 Jack Howarth
  2009-07-12 19:55 ` Richard Guenther
  0 siblings, 1 reply; 8+ messages in thread
From: Jack Howarth @ 2009-07-12 19:41 UTC (permalink / raw)
  To: gcc

   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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-07-13  8:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-12 19:41 FAIL: gcc.c-torture/compile/20000804-1.c -O0 with PIC on gcc-4_4-branch Jack Howarth
2009-07-12 19:55 ` Richard Guenther
2009-07-12 20:25   ` Jack Howarth
2009-07-13  0:40   ` Dave Korn
2009-07-13  3:39     ` Jack Howarth
2009-07-13  7:32       ` Richard Guenther
2009-07-13  8:18         ` Dave Korn
2009-07-13  8:23           ` Richard Guenther

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).