diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2019-11-13 16:03:27 +0000 |
---|---|---|
committer | Aldy Hernandez <aldyh@gcc.gnu.org> | 2019-11-13 16:03:27 +0000 |
commit | 5d46287769a5224d7d3495b54e64da25fc76f01a (patch) | |
tree | 2f3e30c5b6cc304056ebd319776479c3f80510ee /gcc/tree-ssanames.c | |
parent | 7b521fbd43b3cbaf4313c7719bed72d4de3b49a9 (diff) |
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/tree-ssanames.c')
-rw-r--r-- | gcc/tree-ssanames.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssanames.c b/gcc/tree-ssanames.c index ac92ae4e0e3..8d044901b19 100644 --- a/gcc/tree-ssanames.c +++ b/gcc/tree-ssanames.c @@ -455,7 +455,7 @@ get_range_info (const_tree name, value_range &vr) { min = wide_int_to_tree (TREE_TYPE (name), wmin); max = wide_int_to_tree (TREE_TYPE (name), wmax); - vr.set (kind, min, max); + vr.set (min, max, kind); } return kind; } |