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]

Applied: disable gcc.dg/cpp/_Pragma6.c, g++.dg/cpp/_Pragma1.C for sh*-[us]*-elf


I have applied the attached patch under the obvious fix rule.
2006-06-15  J"orn Rennecke <joern.rennecke@st.com>

	* 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.

Index: gcc.dg/cpp/_Pragma6.c
===================================================================
/usr/bin/diff -p -d -F^( -u -L gcc.dg/cpp/_Pragma6.c	(revision 114639) -L gcc.dg/cpp/_Pragma6.c	(working copy) gcc.dg/cpp/.svn/text-base/_Pragma6.c.svn-base gcc.dg/cpp/_Pragma6.c
--- gcc.dg/cpp/_Pragma6.c	(revision 114639)
+++ gcc.dg/cpp/_Pragma6.c	(working copy)
@@ -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)")
Index: g++.dg/cpp/_Pragma1.C
===================================================================
/usr/bin/diff -p -d -F^( -u -L g++.dg/cpp/_Pragma1.C	(revision 114639) -L g++.dg/cpp/_Pragma1.C	(working copy) g++.dg/cpp/.svn/text-base/_Pragma1.C.svn-base g++.dg/cpp/_Pragma1.C
--- g++.dg/cpp/_Pragma1.C	(revision 114639)
+++ g++.dg/cpp/_Pragma1.C	(working copy)
@@ -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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]