[Bug middle-end/101197] __builtin_memmove does not perform constant optimizations

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jun 25 06:22:44 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101197

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2021-06-25
          Component|tree-optimization           |middle-end

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
void foo (char *a, char *b)
{
  __builtin_memmove (a, b, 32);
}

is not expanded inline (not even with-minline-all-stringops).


More information about the Gcc-bugs mailing list