This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] Fix PR testsuite/29055
- From: howarth at bromo dot msbb dot uc dot edu (Jack Howarth)
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 13 Sep 2006 23:50:34 -0400 (EDT)
- Subject: [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)];