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: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: rth at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: Thu, 10 Apr 03 22:00:48 EDT
- Subject: Re: DATA_ALIGNMENT vs. DECL_USER_ALIGNMENT
> But it *isn't* set in Ada!
Ulrich's experience clearly belies this.
What I meant is that the Ada front end doesn't set it, not that it
isn't getting set. Instead, it gets set from TYPE_USER_ALIGN, which
seems wrong to me because it doesn't properly distinguish (in any
language) the cases where an alignment is specified for a type
vs. when its specified for a decl.