aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-range.cc
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2022-05-16 21:39:30 -0400
committerAndrew MacLeod <amacleod@redhat.com>2022-05-17 11:43:32 -0400
commit6101a276c34b94f692206739d98aa7faf2e7b2ad (patch)
treef975c63b58602ab3f43a3c365cd044b561e5e906 /gcc/gimple-range.cc
parent61a6923e8917b6efcf349515a00a485dfd5b42e4 (diff)
downloadgcc-6101a276c34b94f692206739d98aa7faf2e7b2ad.zip
gcc-6101a276c34b94f692206739d98aa7faf2e7b2ad.tar.gz
gcc-6101a276c34b94f692206739d98aa7faf2e7b2ad.tar.bz2
Check for equivalence after merging relations.
When registering a relation, we need to merge with any existing relation before checking if it was an equivalence... otherwise it was not being handled properly. gcc/ PR tree-optimization/105458 * value-relation.cc (path_oracle::register_relation): Merge, then check for equivalence. gcc/testsuite/ * gcc.dg/pr105458.c: New.
Diffstat (limited to 'gcc/gimple-range.cc')
0 files changed, 0 insertions, 0 deletions