aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.cc
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2023-09-27 12:34:16 -0400
committerAndrew MacLeod <amacleod@redhat.com>2023-10-03 10:25:51 -0400
commitec8e86690ee572f03e6ffda288f2d28fd86f9d65 (patch)
treecae7099b27e724aead3b6847e140939fd367a7d8 /gcc/cgraph.cc
parentc44ca7c01226e0768e58c5b274ddd5e161378010 (diff)
downloadgcc-ec8e86690ee572f03e6ffda288f2d28fd86f9d65.zip
gcc-ec8e86690ee572f03e6ffda288f2d28fd86f9d65.tar.gz
gcc-ec8e86690ee572f03e6ffda288f2d28fd86f9d65.tar.bz2
Return TRUE only when a global value is updated.
set_range_info should return TRUE only when it sets a new value. VRP no longer overwrites global ranges DOM has set. Check for ranges in the final listing. gcc/ * tree-ssanames.cc (set_range_info): Return true only if the current value changes. gcc/testsuite/ * gcc.dg/pr93917.c: Check for ranges in final optimized listing. * gcc.dg/tree-ssa/vrp-unreachable.c: Ditto.
Diffstat (limited to 'gcc/cgraph.cc')
0 files changed, 0 insertions, 0 deletions