https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109795
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- >The following compiles on GCC 13.1.0 when it should not: You have the opposite way around. GCC is the one which rejects this code while the other compilers accept it ...