This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: define HANDLE_PRAGMA_PACK_PUSH_POP for SPU
- From: Ben Elliston <bje at au1 dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 19 Dec 2006 10:06:33 +1100
- Subject: PATCH: define HANDLE_PRAGMA_PACK_PUSH_POP for SPU
I see no good reason why this pragma shouldn't be supported on the SPU.
Further, doing so fixes a testsuite failure in gcc.dg/cpp/_Pragma6.c.
Okay for the trunk?
2006-12-19 Ben Elliston <bje@au.ibm.com>
* config/spu/spu.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
Index: spu.h
===================================================================
--- spu.h (revision 120017)
+++ spu.h (working copy)
@@ -551,6 +551,7 @@ targetm.resolve_overloaded_builtin = spu
#define NO_IMPLICIT_EXTERN_C 1
+#define HANDLE_PRAGMA_PACK_PUSH_POP 1
/* These are set by the cmp patterns and used while expanding