projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a9a5d1
)
Early exit on VR_VARYING from irange::set.
author
Aldy Hernandez
<aldyh@redhat.com>
Wed, 11 Nov 2020 08:05:32 +0000
(09:05 +0100)
committer
Aldy Hernandez
<aldyh@redhat.com>
Wed, 11 Nov 2020 10:45:36 +0000
(11:45 +0100)
gcc/ChangeLog:
* value-range.cc (irange::set): Early exit on VR_VARYING.
gcc/value-range.cc
patch
|
blob
|
history
diff --git
a/gcc/value-range.cc
b/gcc/value-range.cc
index b7ccba010e45661a425c10d6e5f268c49713fb19..2b82dfe2a7b5db93762a9ba64174e41fc2b81553 100644
(file)
--- a/
gcc/value-range.cc
+++ b/
gcc/value-range.cc
@@
-249,7
+249,9
@@
irange::set (tree min, tree max, value_range_kind kind)
return;
}
- if (POLY_INT_CST_P (min) || POLY_INT_CST_P (max))
+ if (kind == VR_VARYING
+ || POLY_INT_CST_P (min)
+ || POLY_INT_CST_P (max))
{
set_varying (TREE_TYPE (min));
return;