This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: DATA_ALIGNMENT vs. DECL_USER_ALIGNMENT
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Geert Bosch <bosch at gnat dot com>
- Cc: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner), gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: 17 Apr 2003 19:32:27 -0300
- Subject: Re: DATA_ALIGNMENT vs. DECL_USER_ALIGNMENT
- Organization: GCC Team, Red Hat
- References: <B2B458E8-7120-11D7-B8B8-00039344BF4A@gnat.com>
On Apr 17, 2003, Geert Bosch <bosch at gnat dot 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 at {redhat dot com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva at {lsd dot ic dot unicamp dot br, gnu.org}
Free Software Evangelist Professional serial bug killer