On Sun, 25 Jun 2006, Eric Botcazou wrote:

> > At least this one looks "easier" to look at.  Is SPARC/Solaris a
> > strict alignment target?
> 
> Yes, all SPARC targets are.

So, something obviously wrong with

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))

for SPARC 32bit?

Richard.

--
Richard Guenther <[EMAIL PROTECTED]>
Novell / SUSE Labs

Reply via email to