https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121380
--- Comment #3 from Konstantinos Eleftheriou <konstantinos.eleftheriou at vrull dot eu> --- It's the same issue indeed. We've submitted a fix (https://gcc.gnu.org/pipermail/gcc-patches/2025-August/691534.html).