https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118946
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Jeffrey A. Law from comment #2) > Marking as a duplicate of one I happen to know about. I suspect there are > others. > > *** This bug has been marked as a duplicate of bug 94713 *** I think this is unrelated. The issue here is the tree level can't optimize away the memcpy into a memset. This is a dup of bug 117634 really. *** This bug has been marked as a duplicate of bug 117634 ***