https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59173
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- There was a defect report in this area and GCC is correctly accepting this code now IIRC.
pinskia at gcc dot gnu.org via Gcc-bugs Sat, 01 Feb 2025 11:14:21 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59173
--- Comment #9 from Andrew Pinski <pinskia at gcc dot gnu.org> --- There was a defect report in this area and GCC is correctly accepting this code now IIRC.