https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80357

--- Comment #16 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Richard Sandiford <[email protected]>:

https://gcc.gnu.org/g:4d64b32b8bcad12b529258f4834818f8609ee206

commit r16-6997-g4d64b32b8bcad12b529258f4834818f8609ee206
Author: Richard Sandiford <[email protected]>
Date:   Fri Jan 23 14:31:48 2026 +0000

    sched: Make model scheduler more robust against stale live-in sets

    As the comment in the patch says, previous inter-block insn movement
    can mean that the current block's live-in set becomes stale.  This is
    somewhat undesirable, since it'll make estimates less conservative
    than intended.  However, a fully accurate update would be too expensive
    for something that is only supposed to be a heuristic.

    gcc/
            PR rtl-optimization/80357
            PR rtl-optimization/94014
            PR rtl-optimization/123144
            * haifa-sched.cc (model_recompute): Ignore dying uses of registers
            that are not assumed to be live.

    gcc/testsuite/
            PR rtl-optimization/123144
            * gcc.dg/torture/pr123144.c: New file.

Reply via email to