From 31efe66cf9204d05ba20fea0d85fda95e6db0246 Mon Sep 17 00:00:00 2001 From: amylaar Date: Thu, 15 Jun 2006 16:36:21 +0000 Subject: [PATCH] * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114680 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/g++.dg/cpp/_Pragma1.C | 5 +++-- 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)") -- 2.7.4