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: dewar at gnat dot com (Robert Dewar)
- To: dewar at gnat dot com, 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: Fri, 11 Apr 2003 12:00:18 -0400 (EDT)
- Subject: Re: DATA_ALIGNMENT vs. DECL_USER_ALIGNMENT
> No, that's actually OK since it is the property of the macros that
> modify alignment that if you start with the alignment that they
> produced, they produce that alignment again. I suppose nobody has
> even formally documented this property, but it would be very hard to
> see why they would do anything else.
Well indeed it should be formally documented if we depend on it. But
in that case, I also see no harm in setting a "user defined" alignment
that corresponds to this default value.