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: Richard Henderson <rth at redhat dot com>
- To: Richard Kenner <kenner at vlsi1 dot ultra dot nyu dot edu>
- Cc: gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org
- Date: Thu, 10 Apr 2003 14:41:59 -0700
- Subject: Re: DATA_ALIGNMENT vs. DECL_USER_ALIGNMENT
- References: <10304102140.AA03203@vlsi1.ultra.nyu.edu>
On Thu, Apr 10, 2003 at 05:40:55PM -0400, Richard Kenner wrote:
> Because of the requirement that the alignment of most types be *static*.
> So they cannot be changed from what the front end thinks they are, whether
> or not they got that way by explicit user action.
Seems to me that if this is happening, it's a failing of the
layout_type interface. It definitely seems Wrong to abuse
*USER_ALIGN for this.
r~