https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109041
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Looks like it has been fixed in GCC 12.
pinskia at gcc dot gnu.org via Gcc-bugs Tue, 07 Mar 2023 17:14:59 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109041
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Looks like it has been fixed in GCC 12.