https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108490
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Though, if I try the above short testcase on godbolt with C++ (Circle), build 131 still rejects it but Latest accepts, so most likely they have fixed it already.