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: "danglin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 11 Mar 2012 23:59:26 +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
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.
It would seem that the problem is the copy at the caller site
is being optimized away.