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

Zack Weinberg zackw@Stanford.EDU
Fri Oct 27 17:04:00 GMT 2000


On Fri, Oct 27, 2000 at 04:48:54PM -0700, Richard Henderson wrote:
> 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.

Applied.

zw


More information about the Gcc-patches mailing list