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]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]