This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: BIGGEST_ALIGNMENT on AIX 32-bit
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: ebotcazou at adacore dot com (Eric Botcazou)
- Cc: dje at watson dot ibm dot com (David Edelsohn), gcc at gcc dot gnu dot org
- Date: Sat, 14 Jan 2006 12:05:58 -0500 (EST)
- Subject: Re: BIGGEST_ALIGNMENT on AIX 32-bit
>
> > Why isn't this bug an incorrect use of BIGGEST_ALIGNMENT somewhere
> > in the compiler?
>
> Because you must have BIGGEST_ALIGNMENT <= STACK_BOUNDARY (or
> PREFERRED_STACK_BOUNDARY) in order to be able to allocate objects with
> BIGGEST_ALIGNMENT on the stack. Otherwise the offsets are not sufficiently
> rounded, even if the stack register is aligned on BIGGEST_ALIGNMENT on
> function entry.
Huh? Where is this requirement documented because I don't see it at all
in tm.texi? Also what is Ada using BIGGEST_ALIGNMENT for, that just seems
wrong.
Thanks,
Andrew Pinski