aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2020-10-26 14:55:00 -0400
committerAndrew MacLeod <amacleod@redhat.com>2020-10-26 17:41:07 -0400
commit48722d158cbf692c24025e345ecbbbb570f66aa5 (patch)
tree9918c57fb703d14c7fe3ec85918f665030487526 /libgo
parentb784bbbe45414084551a824504650f21cb653ca1 (diff)
downloadgcc-48722d158cbf692c24025e345ecbbbb570f66aa5.zip
gcc-48722d158cbf692c24025e345ecbbbb570f66aa5.tar.gz
gcc-48722d158cbf692c24025e345ecbbbb570f66aa5.tar.bz2
Combine logical OR ranges properly.
When combining logical OR operands with a FALSE result, union the false ranges for operand1 and operand2... not intersection. gcc/ PR tree-optimization/97567 * gimple-range-gori.cc (gori_compute::logical_combine): Union the ranges of operand1 and operand2, not intersect. gcc/testsuite/ * gcc.dg/pr97567.c: New.
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions