https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105229
--- Comment #7 from Simon Martin <simartin at gcc dot gnu.org> --- Bisection shows that this has been fixed by https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=252e9dfee9b1d01e0e44773ad83e0e44f3650945 Test case addition proposed in https://gcc.gnu.org/pipermail/gcc-patches/2024-May/652639.html