OSDN Git Service

* gcc.dg/cpp/_Pragma6.c: Fix comment.
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Jun 2006 16:36:21 +0000 (16:36 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Jun 2006 16:36:21 +0000 (16:36 +0000)
Test is not supported on sh*-unknown-elf nor sh*-superh-elf.
* g++.dg/cpp/_Pragma1.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114680 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/g++.dg/cpp/_Pragma1.C
gcc/testsuite/gcc.dg/cpp/_Pragma6.c

index 25a79f8..5783af1 100644 (file)
@@ -1,7 +1,8 @@
 // PR c++/27748
 // This is supposed to succeed only if
-// the target doesn't define HANDLE_PRAGMA_PACK_WITH_EXPANSION.
-// { dg-do compile { target { ! *-*-solaris2* } } }
+// 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 } } } }
 
 #define push bar
 #define foo _Pragma ("pack(push)")
index 369b334..d43a53f 100644 (file)
@@ -1,7 +1,8 @@
 /* PR c/27747 */
 /* This is supposed to succeed only if
-   the target doesn't define HANDLE_PRAGMA_PACK_WITH_EXPANSION.  */
-/* { dg-do compile { target { ! *-*-solaris2* } } } */
+   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 } } } } */
 
 #define push bar
 #define foo _Pragma ("pack(push)")