https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109604
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I had already posted a fix for this (and approved already): https://gcc.gnu.org/pipermail/gcc-patches/2023-April/616499.html I will add the testcase.