https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122046
--- Comment #2 from Tomáš Trnka <trnka at scm dot com> --- I can confirm that applying that patch on current GCC 15 branch fixes the issue for me on our full codebase (not just on the testcase here). Many thanks for such a speedy fix!