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: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: 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
- Date: Thu, 10 Apr 03 14:10:19 EDT
- Subject: Re: DATA_ALIGNMENT vs. DECL_USER_ALIGNMENT
I'm not sure whether this is the preferred fix; in particular
I don't understand why those variables need to have forced
alignment in the first place ...
I think it needs more thought. Ada semantics on alignment are quite
complex. At first though, DECL_USER_ALIGN should either *always* be
set or *never* be set, but it's not clear which or even, yet, whether
that's correct or not.
I've started a discussion among the alignment experts in Ada.