https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90263
Martin Sebor <msebor at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |missed-optimization CC| |msebor at gcc dot gnu.org --- Comment #7 from Martin Sebor <msebor at gcc dot gnu.org> --- Rather than unconditionally transforming mempcpy to memcpy I would prefer to see libc implementations of memccpy optimized. WG14 N2349 discusses a rationale for this: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2349.htm