PR18173 - can't force alignment of global arrays with static initializer?
Richard Henderson
rth@redhat.com
Wed Nov 24 02:09:00 GMT 2004
On Tue, Nov 23, 2004 at 03:55:18PM -0800, Geoffrey Keating wrote:
> I'm actually not sure why DECL_ALIGN exists, it should really always
> be equal to TYPE_ALIGN. What you do if you want to change the
> alignment is you create a new type that's the same as the previous one
> but with a different TYPE_ALIGN, and then change the decl's type, and
> then maybe re-layout the decl.
Yes. Mark and Kenner have argued about this in the past at length.
r~
More information about the Gcc-patches
mailing list