aboutsummaryrefslogtreecommitdiff
path: root/gcc/range.cc
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2019-11-13 16:03:27 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2019-11-13 16:03:27 +0000
commit5d46287769a5224d7d3495b54e64da25fc76f01a (patch)
tree2f3e30c5b6cc304056ebd319776479c3f80510ee /gcc/range.cc
parent7b521fbd43b3cbaf4313c7719bed72d4de3b49a9 (diff)
downloadgcc-5d46287769a5224d7d3495b54e64da25fc76f01a.zip
gcc-5d46287769a5224d7d3495b54e64da25fc76f01a.tar.gz
gcc-5d46287769a5224d7d3495b54e64da25fc76f01a.tar.bz2
Rewrite value_range constructors to the value_range_kind is at the end, and defaults to VR_RANGE.
Rewrite value_range constructors to the value_range_kind is at the end, and defaults to VR_RANGE. Similarly for set() methods. From-SVN: r278148
Diffstat (limited to 'gcc/range.cc')
-rw-r--r--gcc/range.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/range.cc b/gcc/range.cc
index 8e5c979..e592d05 100644
--- a/gcc/range.cc
+++ b/gcc/range.cc
@@ -62,8 +62,8 @@ range_zero (tree type)
value_range
range_nonzero (tree type)
{
- return value_range (VR_ANTI_RANGE,
- build_zero_cst (type), build_zero_cst (type));
+ return value_range (build_zero_cst (type), build_zero_cst (type),
+ VR_ANTI_RANGE);
}
value_range