On 6/29/26 4:09 AM, Stefan Schulze Frielinghaus wrote:
On Fri, May 15, 2026 at 11:18:38AM +0200, Stefan Schulze Frielinghaus wrote:


        PR rtl-optimization/125173

gcc/ChangeLog:

        * ira.cc (combine_and_move_insns): Allow multiple uses within
        an insn.

gcc/testsuite/ChangeLog:

        * gcc.dg/pr125173-1.c: New test.
---

Notes:
     Bootstrapped and regtested on
     - aarch64-unknown-linux-gnu
     - powerpc64le-unknown-linux-gnu
     - s390x-ibm-linux-gnu
     - x86_64-pc-linux-gnu
     Ok for mainline?
Forgot to ask: Ok for backporting to all open release branches?  The fix
is in trunk for two weeks, now, and it was reproducible for me until gcc
8 (probably even earlier but I stopped at 8).  Furthermore, the fix
seems innocent in the sense that its effects are local.

Yes. I can backport the patch if you want.  It is safe.


Reply via email to