diff options
author | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-20 17:19:26 +0000 |
---|---|---|
committer | rsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-20 17:19:26 +0000 |
commit | e1d65c9faa265f500fa1602eb35a442fc0622f1c (patch) | |
tree | 87c1e921e4f5bffd9be035df668a39f82d6130c6 /gcc/c-family | |
parent | fa7278748bc13a0a16537c1d55e5ae6bbd75621f (diff) | |
download | gcc-e1d65c9faa265f500fa1602eb35a442fc0622f1c.tar.gz |
Remove cst_fits_[su]hwi_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/wide-int@205131 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-family')
-rw-r--r-- | gcc/c-family/c-common.c | 2 | ||||
-rw-r--r-- | gcc/c-family/c-format.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-family/c-common.c b/gcc/c-family/c-common.c index 4eea22711ea..f9534a0a6e2 100644 --- a/gcc/c-family/c-common.c +++ b/gcc/c-family/c-common.c @@ -8768,7 +8768,7 @@ static bool get_nonnull_operand (tree arg_num_expr, unsigned HOST_WIDE_INT *valp) { /* Verify the arg number is a small constant. */ - if (cst_fits_uhwi_p (arg_num_expr)) + if (tree_fits_uhwi_p (arg_num_expr)) { *valp = TREE_INT_CST_LOW (arg_num_expr); return true; diff --git a/gcc/c-family/c-format.c b/gcc/c-family/c-format.c index 0ae6733c2d7..b99e281dfe9 100644 --- a/gcc/c-family/c-format.c +++ b/gcc/c-family/c-format.c @@ -227,7 +227,7 @@ check_format_string (tree fntype, unsigned HOST_WIDE_INT format_num, static bool get_constant (tree expr, unsigned HOST_WIDE_INT *value, int validated_p) { - if (!cst_fits_uhwi_p (expr)) + if (!tree_fits_uhwi_p (expr)) { gcc_assert (!validated_p); return false; |