This is the mail archive of the gcc-patches@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] |
Andreas Jaeger <aj@suse.de> writes: > Index: setjmp-2.c > =================================================================== > RCS file: /cvs/gcc/gcc/gcc/testsuite/gcc.dg/setjmp-2.c,v > retrieving revision 1.1 > diff -u -p -r1.1 setjmp-2.c > --- setjmp-2.c 23 Nov 2004 13:08:32 -0000 1.1 > +++ setjmp-2.c 26 May 2005 17:44:07 -0000 > @@ -1,8 +1,8 @@ > /* PR middle-end/17813 */ > /* Origin: Tom Hughes <tom@compton.nu> */ > /* { dg-do run { target i?86-*-linux* x86_64-*-linux* } } */ > -/* { dg-options "-O -fomit-frame-pointer -march=i386" { target i?86-*-linux* } } */ > -/* { dg-options "-O -fomit-frame-pointer -m32 -march=i386" { target x86_64-*-linux* } } */ > +/* { dg-options "-O -fomit-frame-pointer -march=i386" { target { i?86-*-linux* && ilp32 } } } */ > +/* { dg-options "-O -fomit-frame-pointer -march=i386" { target { x86_64-*-linux* && ilp32 } } } */ This change is wrong - it does not compile in 64-bit due to different header files. Let's make this - as before - a 32-bit only test. I'll commit the following now as obvious, Andreas 2005-05-27 Andreas Jaeger <aj@suse.de> * gcc.dg/setjmp-2.c: Only run in 32-bit. ============================================================ Index: gcc/testsuite/gcc.dg/setjmp-2.c --- gcc.dg/setjmp-2.c 26 May 2005 19:10:52 -0000 1.2 +++ gcc.dg/setjmp-2.c 27 May 2005 06:03:43 -0000 @@ -1,6 +1,7 @@ /* PR middle-end/17813 */ /* Origin: Tom Hughes <tom@compton.nu> */ /* { dg-do run { target i?86-*-linux* x86_64-*-linux* } } */ +/* { dg-require-effective-target ilp32 } */ /* { dg-options "-O -fomit-frame-pointer -march=i386" { target { i?86-*-linux* && ilp32 } } } */ /* { dg-options "-O -fomit-frame-pointer -march=i386" { target { x86_64-*-linux* && ilp32 } } } */ -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Attachment:
pgp00000.pgp
Description: PGP signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |