From: Andrew Macleod Date: Fri, 13 Apr 2018 16:19:37 +0000 (+0000) Subject: allow kind_type for a constructor with integers X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=62a2e85772c4aa3be4cf27073f39ce533ba34c6f;p=thirdparty%2Fgcc.git allow kind_type for a constructor with integers From-SVN: r259376 --- 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);