[Bug middle-end/82014] worse code emitted for a valid memove than for undefined memcpy

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Aug 29 08:25:00 GMT 2017


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).


More information about the Gcc-bugs mailing list