https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118834
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- I have not looked fully but https://gcc.gnu.org/pipermail/gcc-patches/2024-November/667976.html might to a patch to solve this. I also suspect it is too late to get into GCC 15.