From: Joern Rennecke Date: Thu, 15 Jun 2006 16:36:21 +0000 (+0100) Subject: _Pragma6.c: Fix comment. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=11f7dd15f1893b04b07965f7cc8a6bfa9459ac9b;p=gcc.git _Pragma6.c: Fix comment. * gcc.dg/cpp/_Pragma6.c: Fix comment. Test is not supported on sh*-unknown-elf nor sh*-superh-elf. * g++.dg/cpp/_Pragma1.C: Likewise. From-SVN: r114680 --- diff --git a/gcc/testsuite/g++.dg/cpp/_Pragma1.C b/gcc/testsuite/g++.dg/cpp/_Pragma1.C index 25a79f8863e..5783af16f62 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 369b334ae44..d43a53f1902 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)")