https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64696
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid, wrong-code
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jason Merrill from comment #1)
> G++ implements issue 1467, so the only bug is with the designated
> initializer, which is an extension for C compatibility.
Well not exactly an extension only more :). It was added for C++20.
Anyways this seems fixed on the trunk.