summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Macleod <amacleod@gcc.gnu.org>2018-04-13 16:19:37 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>2018-04-13 16:19:37 +0000
commit62a2e85772c4aa3be4cf27073f39ce533ba34c6f (patch)
tree09c8de65973e9cbd2deaa900a8321b7f9264f95e
parent0bcfd10047731bea91d5a7709d10d8e9177c3826 (diff)
downloadgcc-62a2e85772c4aa3be4cf27073f39ce533ba34c6f.tar.gz
allow kind_type for a constructor with integers
From-SVN: r259376
-rw-r--r--gcc/range.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/range.h b/gcc/range.h
index 125a803cbaf..37a57f7000f 100644
--- a/gcc/range.h
+++ b/gcc/range.h
@@ -82,7 +82,8 @@ class irange
{ set_range (typ, wi::to_wide (lbound), wi::to_wide (ubound), rt); }
irange (const irange &);
irange (const irange_storage *stor, tree typ) { set_range (stor, typ); }
- irange (const_tree t, int x, int y) { set_range (t, x, y, PLAIN); }
+ irange (const_tree t, int x, int y, kind k = PLAIN)
+ { set_range (t, x, y, k); }
void set_range (const irange_storage *, const_tree);
void set_range (const_tree);