https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78113
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> --- Fixed in my fork (for visiting a single variant of up to 11 alternative types): https://gitlab.com/jonathan-wakely/gcc/-/commit/f5de3d9055e47b73cd1c4d35c235ebaa3f93a5e6