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/50079] [4.7 Regression] FAIL: g++.dg/init/copy7.C execution test


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

--- Comment #6 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-10-28 10:52:51 UTC ---
Btw, for the truly anal folks with a memcpy implementation that breaks with
src == dest we can add a target hook that specifies to use memmove for
block move expansion instead of memcpy (or guard the latter with a
if (src != dest) on those targets).  Stupid targets/implementations should
not pay the penalty of a test-and-branch.


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