https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109446
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rguenth at gcc dot gnu.org --- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> --- > It seems Clang disables this optimization and convert memcpy to > __asan_memcpy calls if -fsanitize=address used: > > https://godbolt.org/z/dcfadoMYY Yep! Richi, do you know a place where we lower this?