This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/52450] FAIL: gcc.dg/torture/pr52402.c at -O1 and above
- From: "rguenther at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 12 Mar 2012 09:58:02 +0000
- Subject: [Bug middle-end/52450] FAIL: gcc.dg/torture/pr52402.c at -O1 and above
- Auto-submitted: auto-generated
- References: <bug-52450-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52450
--- Comment #8 from rguenther at suse dot de <rguenther at suse dot de> 2012-03-12 09:58:02 UTC ---
On Mon, 12 Mar 2012, rguenther at suse dot de wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52450
>
> --- Comment #7 from rguenther at suse dot de <rguenther at suse dot de> 2012-03-12 09:55:54 UTC ---
> On Sun, 11 Mar 2012, danglin at gcc dot gnu.org wrote:
>
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52450
> >
> > John David Anglin <danglin at gcc dot gnu.org> changed:
> >
> > What |Removed |Added
> > ----------------------------------------------------------------------------
> > Component|target |middle-end
> >
> > --- Comment #6 from John David Anglin <danglin at gcc dot gnu.org> 2012-03-11 23:59:26 UTC ---
> > Test is xfailed on trunk.
> >
> > Please note that this is an optimization bug as the test
> > doesn't fail at -O0.
> >
> > While struct T is packed, I don't believe that this implies
> > that its address is misaligned. i is the first field in
> > T. Thus, its address shouldn't be misaligned on a big
> > endian target.
>
> Is that so? If so then the testcase is invalid.
Btw, alignof () of a packed struct type is 1 (it could be nested
in another packed struct).
Richard.