https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125038 --- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- This changed in r16-6206 aka PR123075 fix. Anyway, the reason why PR66834 is still unresolved is mainly that https://wg21.link/cwg1430 is still unresolved in the C++ standard.