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: David Edelsohn <dje at watson dot ibm dot com>
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Cc: rth at redhat dot com, gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: Thu, 10 Apr 2003 17:40:30 -0400
- Subject: Re: DATA_ALIGNMENT vs. DECL_USER_ALIGNMENT
>>>>> Richard Kenner writes:
Richard> Because of the requirement that the alignment of most types be *static*.
Richard> So they cannot be changed from what the front end thinks they are, whether
Richard> or not they got that way by explicit user action.
Then it sounds like we need a way for the port to specify or the
front-end to query the minimum alignment allowed for the target. This
would allow the front-end to statically know the alignment of the type
while maintaining the target requirements.
David