This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/32667] builtin operator= generates memcpy with overlapping memory regions
- From: "mans at mansr dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 05 Dec 2011 20:37:18 +0000
- Subject: [Bug middle-end/32667] builtin operator= generates memcpy with overlapping memory regions
- Auto-submitted: auto-generated
- References: <bug-32667-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32667
Mans Rullgard <mans at mansr dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mans at mansr dot com
--- Comment #7 from Mans Rullgard <mans at mansr dot com> 2011-12-05 20:37:18 UTC ---
Note that the test case in comment #6 does not trigger the problem on x86 where
the copying is inlined. It does trigger on ARM and other targets where this
assignment results in a memcpy() call. All current stable releases show the
bug. I did not test with trunk.