[Bug c/50569] Wrong code error: memcpy eliminated when it is needed

mikpe at it dot uu.se gcc-bugzilla@gcc.gnu.org
Thu Sep 29 19:00:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50569

Mikael Pettersson <mikpe at it dot uu.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpe at it dot uu.se

--- Comment #1 from Mikael Pettersson <mikpe at it dot uu.se> 2011-09-29 18:57:17 UTC ---
Can you add a suitable main() to the test case to make it executable?  I'd like
to check it on two strict-alignment platforms (ARMv5 and SPARC).  A cursory
inspection of the generated assembly code hints that gcc-4.6-20110923 and
gcc-4.7-20110924 keep the memcpy() calls when targeting armv5tel-linux-gnueabi.



More information about the Gcc-bugs mailing list