https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104415 Bug 104415 depends on bug 104373, which changed state.
Bug 104373 Summary: [12 regression] bogus -Wmaybe-uninitialized warning with array new https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104373 What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution|--- |FIXED