From 62a2e85772c4aa3be4cf27073f39ce533ba34c6f Mon Sep 17 00:00:00 2001 From: Andrew Macleod Date: Fri, 13 Apr 2018 16:19:37 +0000 Subject: [PATCH] allow kind_type for a constructor with integers From-SVN: r259376 --- gcc/range.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/range.h b/gcc/range.h index 125a803cbaf3..37a57f7000f3 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); -- 2.47.2