https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122192
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Reading the commit message for r13-6098-g46711ff8e60d64b7e5550f (the change most likely which introduced the difference), makes me think GCC 13+ is correct here.
