This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/82014] worse code emitted for a valid memove than for undefined memcpy
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 29 Aug 2017 07:25:20 +0000
- Subject: [Bug middle-end/82014] worse code emitted for a valid memove than for undefined memcpy
- Auto-submitted: auto-generated
- References: <bug-82014-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82014
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-08-29
Component|tree-optimization |middle-end
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. Note this is RTL expansion which could detect the "direction" of
the overlap and do a blockmove in case of positive dependence (or be adjusted
to
also handle negative dependence).