On Thu, 4 Jun 2020 at 14:41, Richard Biener <richard.guent...@gmail.com> wrote: > Doesn't the placement new make the memory state of anything > not explicitely initialized indeterminate? That is, isn't the > testcase broken anyways since GCC can elide the memset > when seeing the placement new?
Hmm, yes it does, and the test is broken.