https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71388
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Gcc considers the memset as being dead as nothing validly can assume anything about the memory after the inplacement new.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71388
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Gcc considers the memset as being dead as nothing validly can assume anything about the memory after the inplacement new.