This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: DATA_ALIGNMENT vs. DECL_USER_ALIGNMENT


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]