https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61762
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Ah, no, we've optimized the memcpy to the assignment and so we don't go through expand_builtin_memcpy then that would be able to handle this.