fix handling of '#pragma pack(pop [, id])'

Richard Henderson rth@cygnus.com
Fri Oct 27 16:48:00 GMT 2000


On Sat, Oct 21, 2000 at 12:00:03PM -0700, Zack Weinberg wrote:
> 2000-10-21  Mike Coleman  <mcoleman2@kc.rr.com>
> 
> 	* c-pragma.c (handle_pragma_pack): Initialize align to -1.
> 	Improve error messages.  Correct parsing of 
> 	#pragma pack(pop [,id]).  Do not check the user-supplied
> 	alignment if we're popping.
> 
> 	* gcc.dg/pack-test-1.c: New test case.
> 	* gcc.dg/pack-test-2.c: New test case.
> 	* gcc.dg/pack-test-1.h: New file.

Ok.


r~


More information about the Gcc-patches mailing list