From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stan Shebs To: Geert bosch Cc: gcc@gcc.gnu.org Subject: Re: ICE outputting unaligned fp constant on powerpc-apple-darwin5.1 Date: Thu, 29 Nov 2001 16:47:00 -0000 Message-ID: <3C06D70A.4EA36154@apple.com> References: X-SW-Source: 2001-11/msg01597.html Message-ID: <20011129164700.5c8Gt32H-TiDmAN-Fop4SIhZlaaYebHe33a73UnlKZI@z> 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