Alexandre Oliva
Thu Apr 17 20:10:00 GMT 2003

On Apr 17, 2003, (Robert Dewar) wrote:

> Yes, you are specifying an alignment for objects of the type, but the
> implementation is always free to give a larger alignment.

I hope not if this would change the layout of a structure containing a
member with the specified alignment requirement.  This is where
propagating the user-requested alignment for a type into the field
decl comes into play: by doing this, we make sure the alignment
request is obeyed, regardless of whether it comes from the field decl
or from its type.

Alexandre Oliva   Enjoy Guarana', see
Red Hat GCC Developer                 aoliva@{,}
CS PhD student at IC-Unicamp        oliva@{,}
Free Software Evangelist                Professional serial bug killer

More information about the Gcc-patches mailing list