https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117855
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |needs-bisection
Summary|Internal compiler error |[14/15 Regression] Internal
|during substitution of |compiler error during
|template with deduction |substitution of template
|guides, and causes a crash. |with deduction guides, and
| |causes a crash.
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So I think GCC 14.1.0 and 14.2.0 were wrong to reject it too.