https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102357
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Was there a change to C++ beteween C++17 and C++20 here? A defect report? Because clang errors out with the same message as GCC for C++17