This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ICE outputting unaligned fp constant on powerpc-apple-darwin5.1
- From: Stan Shebs <shebs at apple dot com>
- To: Geert bosch <bosch at gnat dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 29 Nov 2001 16:47:05 -0800
- Subject: Re: ICE outputting unaligned fp constant on powerpc-apple-darwin5.1
- References: <EF52EEE2-E529-11D5-8EFA-00039344BF4A@gnat.com>
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