[Bug middle-end/123744] [16 Regression] ICE in gimple_ranger::prefill_stmt_dependencies during vectorization (-O3 -march=cascadelake) since r16-5169
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 21 14:38:30 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123744
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed by
commit r16-6937-g4ac080e384cd30d37fac069d791b813100e6524a
Author: Andrew MacLeod <amacleod@redhat.com>
Date: Mon Jan 19 13:44:25 2026 -0500
Do not trap on a stmt with no basic block.
WHen calculating ranges for statements not in the IL, avoid looking for
range on entry values.
PR tree-optimization/123314
gcc/
* gimple-range.cc (gimple_ranger::range_on_entry): Do not check
ranger cache for an SSA_NAME with no BB.
(gimple_ranger::prefill_stmt_dependencies): Stop filling
dependencies when an out-of IL name is encountered.
gcc/testsuite/
* gcc.dg/pr123314.c: New.
More information about the Gcc-bugs
mailing list