https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105769
--- Comment #21 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 59280 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59280&action=edit Patch which fixes it This is the patch which is on top of https://gcc.gnu.org/pipermail/gcc-patches/2024-October/664419.html .