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] Fix PR testsuite/29055


The following patch disables the gcc.target/powerpc/darwin-bool-1.c
for the -m64 target on Darwin PPC since its invalid in that case.
The change has been tested and properly marks the -m64 test case
as unsupported. Okay for gcc trunk?
                 Jack

---------------------------------------------------------------------
2006-09-13  Jack Howarth  <howarth@bromo.med.uc.edu>

	PR testsuite/29055
	* gcc.target/powerpc/darwin-bool-1.c: Skip -m64

Index: gcc/testsuite/gcc.target/powerpc/darwin-bool-1.c
===================================================================
--- gcc/testsuite/gcc.target/powerpc/darwin-bool-1.c	(revision 116941)
+++ gcc/testsuite/gcc.target/powerpc/darwin-bool-1.c	(working copy)
@@ -1,6 +1,7 @@
 /* Check that sizeof(bool) is 4 if we don't use special options. */
 /* Matt Austern  <austern@apple.com> */
 /* { dg-do run { target powerpc*-*-darwin* } } */
+/* { dg-skip-if "" { powerpc*-*-darwin* } { "-m64" } { "" } } */
 
 int dummy1[sizeof(_Bool) - 3];
 int dummy2[5 - sizeof(_Bool)];


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