RFC: PATCH to layout_decl for middle-end/27945

Jason Merrill jason@redhat.com
Thu Sep 13 07:34:00 GMT 2007

Jason Merrill wrote:
> So something like your patch is necessary.

I think a simpler change would be to just select between

         DECL_ALIGN (decl) = MIN (DECL_ALIGN (decl), BITS_PER_UNIT);


         if (known_align)
           DECL_ALIGN (decl) = MIN (DECL_ALIGN (decl), known_align);

for packing, based on a langhook.


More information about the Gcc-patches mailing list