https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103328
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- So can you perhaps check that g++ -O0 -std=gnu++20 -fno-checking -fno-inline accepts it without errors while g++ -O2 -std=gnu++20 ICEs on it?