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]

[patch] testsuite: skip ppc64 tests if not generating lp64 code


Modify three tests that are specific to 64-bit powerpc-linux to be used
only when generating 64-bit code.  Test ppc64-abi-3.c will continue to
fail on powerpc64-*-linux* with -m64, but that's a different issue.
Committed to mainline.

2004-11-15  Janis Johnson  <janis187@us.ibm.com>

	* gcc.dg/ppc64-abi-1.c: Skip if not lp64.
	* gcc.dg/ppc64-abi-2.c: Ditto.
	* gcc.dg/ppc64-abi-3.c: Ditto.

Index: gcc.dg/ppc64-abi-1.c
===================================================================
RCS file: /opt/gcc-cvs/gcc/gcc/testsuite/gcc.dg/ppc64-abi-1.c,v
retrieving revision 1.1
diff -u -p -r1.1 ppc64-abi-1.c
--- gcc.dg/ppc64-abi-1.c	14 Jan 2004 09:23:06 -0000	1.1
+++ gcc.dg/ppc64-abi-1.c	13 Nov 2004 01:54:44 -0000
@@ -1,4 +1,5 @@
 /* { dg-do run { target powerpc64-*-* } } */
+/* { dg-require-effective-target lp64 } */
 /* { dg-options "-O2" } */
 #include <stdarg.h>
 #include <signal.h>
Index: gcc.dg/ppc64-abi-2.c
===================================================================
RCS file: /opt/gcc-cvs/gcc/gcc/testsuite/gcc.dg/ppc64-abi-2.c,v
retrieving revision 1.2
diff -u -p -r1.2 ppc64-abi-2.c
--- gcc.dg/ppc64-abi-2.c	21 Aug 2004 00:02:40 -0000	1.2
+++ gcc.dg/ppc64-abi-2.c	15 Nov 2004 18:48:35 -0000
@@ -1,4 +1,5 @@
 /* { dg-do run { target powerpc64-*-linux* } } */
+/* { dg-require-effective-target lp64 } */
 /* { dg-options "-O2 -fprofile -mprofile-kernel -maltivec -mabi=altivec" } */
 #include <stdarg.h>
 #include <signal.h>
Index: gcc.dg/ppc64-abi-3.c
===================================================================
RCS file: /opt/gcc-cvs/gcc/gcc/testsuite/gcc.dg/ppc64-abi-3.c,v
retrieving revision 1.2
diff -u -p -r1.2 ppc64-abi-3.c
--- gcc.dg/ppc64-abi-3.c	19 Mar 2004 13:18:13 -0000	1.2
+++ gcc.dg/ppc64-abi-3.c	13 Nov 2004 01:55:48 -0000
@@ -1,4 +1,5 @@
 /* { dg-do compile { target powerpc64-*-linux* } } */
+/* { dg-require-effective-target lp64 } */
 /* { dg-options "-Wall" } */
 /* Testcase to check for ABI compliance of parameter passing
    for the PowerPC64 ABI.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]