This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/52450] FAIL: gcc.dg/torture/pr52402.c at -O1 and above


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]