This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: unable to detect exception model


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 <rguenther@suse.de>
Novell / SUSE Labs


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]