This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: rfc: constant pool and floats
On Fri, Oct 15, 2004 at 05:45:36PM -0400, Andrew Pinski wrote:
>
> On Oct 15, 2004, at 5:30 PM, Aldy Hernandez wrote:
>
> >Hi folks.
> >
> >The following testcase is failing on powerpc-linux as well as the
> >embedded
> >variants.
> >
> >FAIL: tmpdir-gcc.dg-struct-layout-1/t001 c_compat_x_tst.o compile
>
> Note Janis filed a bug for this, PR 18004.
>
> It also happens for aligned(1) but I thought the definition of aligned
> says it never lowers the alignment and packed does that. Maybe I
> misread
> the documentation.
This has been broken for a long time. See:
Date: Mon, 12 Jul 2004 19:56:26 -0700
From: Jim Wilson <wilson@specifixinc.com>
Subject: Re: Documentation for __aligned__ out of date?
That is a bug in the implementation of the aligned attribute.
Apparently one that has been around for a long time unnoticed. I tried
2.8.1 and it fails there also.
If you try this with a structure type, you will see that it works as
documented.
--
Daniel Jacobowitz