https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109937
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Note GCC 13 behavior is correct according to the C++ defect report: CWG1228 but it is being raised with the C++ standards committee again. Anyways see bug 109247 comment #5 on that.