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]

Re: PR testsuite/20772 - further pieces


Jakub Jelinek <jakub@redhat.com> writes:

> The test is supposed to succeed even on x86-64 -m64, you just can't use
> -march=pentium3 with -m64.
> So this means IMHO that:
> /* { dg-do compile { xfail xstormy16-*-* } } */
> /* { dg-options "" } */
> /* { dg-options "-march=pentium3" { target { i?86-*-* && ilp32 } } } */
> /* { dg-options "-march=pentium3" { target { x86_64-*-* && ilp32 } } } */
> should be used (and dg-skip-if removed).

Yes, that's better - let's make it short:

/* The xstormy16 doesn't support V2DI.  */
/* { dg-do compile { xfail xstormy16-*-* } } */
/* { dg-options "" } */
/* { dg-options "-march=pentium3" { target { i?86-*-* x86_64-*-* } && ilp32 } } */

I had committed the previous version already, so here's my final
diff.  I'll commit this tomorrow if nobody objects,

Andreas

2005-05-26  Andreas Jaeger  <aj@suse.de>

	* gcc.dg/i386-sse-8.c: Run test on all archs.


============================================================
Index: gcc/testsuite/gcc.dg/i386-sse-8.c
--- gcc.dg/i386-sse-8.c	26 May 2005 21:22:00 -0000	1.8
+++ gcc.dg/i386-sse-8.c	26 May 2005 21:45:13 -0000
@@ -4,8 +4,7 @@
 /* The xstormy16 doesn't support V2DI.  */
 /* { dg-do compile { xfail xstormy16-*-* } } */
 /* { dg-options "" } */
-/* { dg-options "-march=pentium3" { target i?86-*-* x86_64-*-* } } */
-/* { dg-require-effective-target ilp32 } */
+/* { dg-options "-march=pentium3" { target { i?86-*-* x86_64-*-* } && ilp32 } } */
 
 int main() 
 { 

-- 
 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]