https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106310
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- There is a C++ defect report about this.
pinskia at gcc dot gnu.org via Gcc-bugs Thu, 14 Jul 2022 16:50:42 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106310
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- There is a C++ defect report about this.