https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115900
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Marek Polacek from comment #1) > Started with r14-409: > > commit 4b8d0d4d7fd245ef85c7801e7838845502a5a61d > Author: Jason Merrill <ja...@redhat.com> > Date: Mon May 1 17:41:44 2023 -0400 > > c++: std::variant slow to compile [PR109678] Hmm, that was backported for GCC 13.3.0 but the test works there. Maybe it was r14-410 which is related but not backported.