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: ICE outputting unaligned fp constant on powerpc-apple-darwin5.1


Geert bosch wrote:
> 
> Compiler bootstraps fine, but fails with the following test case:
> > struct s {
> >   char c;
> >   double d;
> > };
> >
> > struct s t [] = { { 0, 0.0 } };
> 
> It hits an ICE in assemble_real, at varasm.c:2169:
> >   if (align < GET_MODE_ALIGNMENT (mode))
> >     abort ();

OK OK, I admit to being a dirty software hoarder!  We have some
local patches to fix several alignment problems, and apparently
this is one of them, because your example works fine in our latest
code.  The patches are intermingled with a - get ready to retch -
-malign-mac68k option that is needed by some very old code, and
we wanted to separate things before submitting.  But clearly we
need to do the separating sooner rather than later - sorry!

Stan


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