https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119964

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2025-04-28
     Ever confirmed|0                           |1
                 CC|                            |jason at gcc dot gnu.org,
                   |                            |mpolacek at gcc dot gnu.org
             Status|UNCONFIRMED                 |NEW

--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> ---
This changed in r15-3721-ga2746e4347076e to implement
https://eel.is/c++draft/dcl.fct.def.default#2.6

But since the constructor is explicitly defaulted *after* its first
declaration, that bullet does not apply and the program is still ill-formed.

Reply via email to