aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-openmp.cc
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2022-04-25 09:56:35 -0400
committerAndrew MacLeod <amacleod@redhat.com>2022-04-25 09:58:53 -0400
commit362e2a9c6297203bcf7f66bfb51dffb82b42d3b3 (patch)
tree01abff06b790a4d219fa4951900128723aa45313 /gcc/fortran/trans-openmp.cc
parent46cd445fc0714cc6c834b680c3f59dbad0b94a3c (diff)
downloadgcc-362e2a9c6297203bcf7f66bfb51dffb82b42d3b3.zip
gcc-362e2a9c6297203bcf7f66bfb51dffb82b42d3b3.tar.gz
gcc-362e2a9c6297203bcf7f66bfb51dffb82b42d3b3.tar.bz2
Retain existing range knowledge when prefilling statements.
When range_of_stmt was adjusted to avoid large recursion depth, we need to intersect the calculated range whth the any known range to avoid losing info. Range_of_stmt does this, but the new prefill code missed it. PR tree-optimization/105276 gcc/ * gimple-range.cc (gimple_ranger::prefill_stmt_dependencies): Include existing global range with calculated value. gcc/testsuite/ * g++.dg/pr105276.C: New.
Diffstat (limited to 'gcc/fortran/trans-openmp.cc')
0 files changed, 0 insertions, 0 deletions