[Patch] Add HANDLE_PRAGMA_PACK_PUSH_POP to the i386-elf gcc target

Mike Stump mikestump@comcast.net
Fri Nov 19 03:44:00 GMT 2010


On Nov 18, 2010, at 5:15 PM, Joseph S. Myers wrote:
> I think we should just enable HANDLE_PRAGMA_PACK_PUSH_POP unconditionally.  
> That eliminates a target macro - one used in front ends, where we would 
> particularly like to eliminate them - and simplifies the testsuite (no 
> need for tests of this pragma to be conditional), as well as improving 
> portability of code between supported targets; I don't see any reason to 
> restrict this feature to some targets only.  This in turn obsoletes 
> HANDLE_SYSV_PRAGMA as well (the documentation claiming it also affects 
> #pragma weak is wrong), so two target macros can die.

I endorse this as well.



More information about the Gcc-patches mailing list