DATA_ALIGNMENT vs. DECL_USER_ALIGNMENT

Alexandre Oliva aoliva@redhat.com
Thu Apr 17 23:19:00 GMT 2003


On Apr 17, 2003, Geert Bosch <bosch@gnat.com> wrote:

>> Waiting to be enlightened, :-)

> Hope the example helps. Yell if not :-)

'fraid it doesn't.  Only the alignment of variable Q seems to be
user-specified in this case, so it doesn't compare the two different
cases, which is the point of contention.  What if the alignment of the
Point record was defined as 16 as well?  What if it was defined to
something else?  What if the record alignment was defined by the user
but the alignment of variable Q wasn't?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Gcc mailing list