[Bug rtl-optimization/94014] ICE: in model_update_limit_points_in_group, at haifa-sched.c:1988 with -fsched-pressure --param=sched-pressure-algorithm=2
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jan 23 14:32:38 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94014
--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Richard Sandiford <rsandifo@gcc.gnu.org>:
https://gcc.gnu.org/g:4d64b32b8bcad12b529258f4834818f8609ee206
commit r16-6997-g4d64b32b8bcad12b529258f4834818f8609ee206
Author: Richard Sandiford <rdsandiford@googlemail.com>
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.
More information about the Gcc-bugs
mailing list