This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] g++.dg/cpp/_Pragma1.C: Skip on fido and m68k.
- From: Kazu Hirata <kazu at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: janis187 at us dot ibm dot com
- Date: Thu, 17 May 2007 09:32:00 -0700
- Subject: [patch] g++.dg/cpp/_Pragma1.C: Skip on fido and m68k.
Hi,
Attached is a patch to skip g++.dg/cpp/_Pragma1.C on fido and m68k.
Looking at the testcase and gcc/c-pragma.c, I think this testcase
should just be skipped on those targets without
HANDLE_PRAGMA_PACK_PUSH_POP.
A similar patch has been posted and approved for
gcc.dg/cpp/_Pragma6.C.
http://gcc.gnu.org/ml/gcc-patches/2007-04/msg00904.html
Tested on fido and m68k. OK to apply?
Kazu Hirata
2007-05-17 Kazu Hirata <kazu@codesourcery.com>
* g++.dg/cpp/_Pragma1.C: Skip on fido-*-* and m68k-*-*.
Index: gcc/testsuite/g++.dg/cpp/_Pragma1.C
===================================================================
--- gcc/testsuite/g++.dg/cpp/_Pragma1.C (revision 124801)
+++ gcc/testsuite/g++.dg/cpp/_Pragma1.C (working copy)
@@ -2,7 +2,7 @@
// This is supposed to succeed only if
// the target defines HANDLE_PRAGMA_PACK_PUSH_POP
// and doesn't define HANDLE_PRAGMA_PACK_WITH_EXPANSION.
-// { dg-do compile { target { ! { *-*-solaris2* sh*-[us]*-elf } } } }
+// { dg-do compile { target { ! { *-*-solaris2* fido-*-* m68k-*-* sh*-[us]*-elf } } } }
#define push bar
#define foo _Pragma ("pack(push)")