This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: DATA_ALIGNMENT vs. DECL_USER_ALIGNMENT
- From: dewar at gnat dot com (Robert Dewar)
- To: rth at redhat dot com, weigand at immd1 dot informatik dot uni-erlangen dot de
- Cc: gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org,kenner at vlsi1 dot ultra dot nyu dot edu
- Date: Thu, 10 Apr 2003 16:47:01 -0400 (EDT)
- Subject: Re: DATA_ALIGNMENT vs. DECL_USER_ALIGNMENT
> > This means that when compiling the C source that references
> > the variables, I do not know that they are in fact 1-byte
> > aligned. Do you think the backend should be able to cope
> > with even this scenario, or would you consider this a
> > frontend bug?
What does it mean "I do not know that they are in fact 1-byte aligned".
All variables (other than bit fields) are 1-byte aligned.
Part of the trouble here is difference in terminology between Ada and
gcc alignment requirements. This has also caused severe unresolved
difficulties when it comes to maximum alignment values.