https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116353
--- Comment #8 from Manolis Tsamis <tsamismanolis at gmail dot com> --- I have sent this fix, together with the testcase from this ticket, in the lists. Link is https://gcc.gnu.org/pipermail/gcc-patches/2024-August/660245.html