diff options
Diffstat (limited to 'gcc')
| -rw-r--r-- | gcc/testsuite/g++.dg/cpp/_Pragma1.C | 5 | ||||
| -rw-r--r-- | gcc/testsuite/gcc.dg/cpp/_Pragma6.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/gcc/testsuite/g++.dg/cpp/_Pragma1.C b/gcc/testsuite/g++.dg/cpp/_Pragma1.C index 25a79f8..5783af1 100644 --- a/gcc/testsuite/g++.dg/cpp/_Pragma1.C +++ b/gcc/testsuite/g++.dg/cpp/_Pragma1.C @@ -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)") diff --git a/gcc/testsuite/gcc.dg/cpp/_Pragma6.c b/gcc/testsuite/gcc.dg/cpp/_Pragma6.c index 369b334..d43a53f 100644 --- a/gcc/testsuite/gcc.dg/cpp/_Pragma6.c +++ b/gcc/testsuite/gcc.dg/cpp/_Pragma6.c @@ -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)") |
