On Sun, Jun 25, 2006 at 11:19:45AM -0700, Andrew Pinski wrote:
> Maybe the struct should be rewritten like:
> >struct max_alignment {
> > char c;
> > union {
> > long double d;
> > HOST_WIDEST_INT i;
> > } u;
> >};
>
> To make sure the long double was first which is usually the cures the
> whole struct
> alignment issues.
It's a union. If that makes a difference the platform ABI is
hopelessly broken.
Anyway, I'm thinking of MAX_FIELD_ALIGNMENT or something like that.
--
Daniel Jacobowitz
CodeSourcery