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 c/50569] Wrong code error: memcpy eliminated when it is needed


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.


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