https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121068
Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jason at gcc dot gnu.org --- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> --- Ah, the actual bug is that we don't represent the first array new because it's trivial default initialization, and we don't represent the trivial pseudo-destructor calls, so we don't see any access to arr until we get to actually trying to give it a value. The error is correct under the current standard, but I want to make it well-formed by making the first array new make arr the active member.