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]

Do not trun amd64-abi-1.c test with -m32


This test should not be run if you test a biarch x86_64 compiler with
-m32.

Tested with:
RUNTESTFLAGS="--target_board 'unix{-m32,}' i386.exp" make check-gcc

Ok to commit?

Andreas

2005-01-03  Andreas Jaeger  <aj@suse.de>

	* gcc.target/i386/amd64-abi-1.c: Only run in 64-bit tests.

============================================================
Index: gcc/testsuite/gcc.target/i386/amd64-abi-1.c
--- gcc.target/i386/amd64-abi-1.c	23 Dec 2004 03:49:04 -0000	1.1
+++ gcc.target/i386/amd64-abi-1.c	3 Jan 2005 20:54:36 -0000
@@ -1,5 +1,6 @@
 /* { dg-do compile { target x86_64-*-* } } */
 /* { dg-options "-mno-sse" } */
+/* { dg-require-effective-target lp64 } */
 
 double foo(void) { return 0; }	/* { dg-error "SSE disabled" } */
 void bar(double x) { }

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