]> gcc.gnu.org Git - gcc.git/commit
Don't add dependencies in update_stmt.
authorAndrew MacLeod <amacleod@redhat.com>
Fri, 11 Nov 2022 17:22:33 +0000 (12:22 -0500)
committerAndrew MacLeod <amacleod@redhat.com>
Fri, 11 Nov 2022 19:47:39 +0000 (14:47 -0500)
commit0a7b437ca71e2721e9bcf070762fc54ef7991aeb
tree26b6eaf5a37bec6dff938c9d954f6dbb76de6b1c
parent52672be7d328df50f9a05ce3ab44ebcae50fee1b
Don't add dependencies in update_stmt.

gimple_ranger::update_stmt has no idea what the context of an update
is, and should not be adding relations when it re-evaluates a stmt.

PR tree-optimization/107523
gcc/
* gimple-range.cc (gimple_ranger::update_stmt): Use fur_stmt
rather than fur_depend.

gcc/testsuite/
* gcc.dg/pr107523.c: New.
gcc/gimple-range.cc
gcc/testsuite/gcc.dg/pr107523.c [new file with mode: 0644]
This page took 0.066149 seconds and 6 git commands to generate.