https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94922
Patrick Palka <ppalka at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|UNCONFIRMED |RESOLVED
--- Comment #3 from Patrick Palka <ppalka at gcc dot gnu.org> ---
Upon closer investigation I think we're correct to accept these testcases. As
I understand it the construction 'Derived(Base())' is valid in C++20 as a
direct consequence of C++17's aggregate init of classes with base classes
(P0017R1) in conjunction with C++20's parenthesized init of aggregates
(P0960R3).
Thus closing this bug as invalid, sorry for the noise.