On 6/25/06, Daniel Jacobowitz <[EMAIL PROTECTED]> wrote:
On Sun, Jun 25, 2006 at 07:59:14PM +0200, Richard Guenther wrote:
> pass? What is MAX_ALIGNMENT on ppc-darwin? It's defined as
>
> struct max_alignment {
> char c;
> union {
> HOST_WIDEST_INT i;
> long double d;
> } u;
> };
>
> /* The biggest alignment required. */
>
> #define MAX_ALIGNMENT (offsetof (struct max_alignment, u))
I learned while working on the zone collector that there is at least
one platform where this doesn't work, because "long double" had an
alignment of eight on its own and four as a structure field. It might
have been powerpc-darwin.
Though that particular part of ggc-page is the same before and after
the patch. Of course we may now get MAX_ALIGNMENT alignment
where we got MAX_ALIGNMENT*2 before.
Richard.