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.

-- 
Daniel Jacobowitz
CodeSourcery

Reply via email to