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


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