PATCH: define HANDLE_PRAGMA_PACK_PUSH_POP for SPU

Ben Elliston bje@au1.ibm.com
Mon Dec 18 23:07:00 GMT 2006


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




More information about the Gcc-patches mailing list