This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]