This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] (was Re: i386 alignment tweaks...)
On Tue, Jun 06, 2000 at 07:13:56AM +0200, Jakub Jelinek wrote:
> My point was that I did not want to break binary compatibility on arches
> which use already BIGGEST_FIELD_ALIGNMENT (vax, os2 on i386, etc.).
> The difference between BIGGEST_FIELD_ALIGNMENT and
> BIGGEST_DEFAULT_FIELD_ALIGNMENT (well, I should put it into info) is:
> a) BIGGEST_FIELD_ALIGNMENT applies to structures only, while
> BIGGEST_DEFAULT_FIELD_ALIGNMENT applies to structures and unions
> b) BIGGEST_FIELD_ALIGNMENT overrides users __attribute__
My point is that binary compatibility has *already* been broken.
I went back and checked gcc 2.7.2, and find that, as I expected,
structures and unions should be treated the same way.
Please simply change the current meaning of BIGGEST_FIELD_ALIGNMENT.
r~