diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2013-11-18 14:50:47 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2013-11-18 14:50:47 +0000 |
commit | b04268a57f6e67376cf804e6e5866cf8cbfef968 (patch) | |
tree | 131a6aaf79560e8a3a9a65edd5dc63fa0d893de7 /gcc/tree.h | |
parent | a2ca7c8cb966f02300a3775ba5575412aa6b1f94 (diff) | |
download | gcc-b04268a57f6e67376cf804e6e5866cf8cbfef968.zip gcc-b04268a57f6e67376cf804e6e5866cf8cbfef968.tar.gz gcc-b04268a57f6e67376cf804e6e5866cf8cbfef968.tar.bz2 |
tree.h (tree_fits_shwi_p, [...]): Declare.
gcc/
* tree.h (tree_fits_shwi_p, tree_fits_uhwi_p): Declare.
* tree.c (tree_fits_shwi_p, tree_fits_uhwi_p): Define.
From-SVN: r204954
Diffstat (limited to 'gcc/tree.h')
-rw-r--r-- | gcc/tree.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -3662,6 +3662,16 @@ extern int host_integerp (const_tree, int) ATTRIBUTE_PURE /* host_integerp is pure only when checking is disabled. */ #endif ; +extern bool tree_fits_shwi_p (const_tree) +#ifndef ENABLE_TREE_CHECKING + ATTRIBUTE_PURE /* tree_fits_shwi_p is pure only when checking is disabled. */ +#endif + ; +extern bool tree_fits_uhwi_p (const_tree) +#ifndef ENABLE_TREE_CHECKING + ATTRIBUTE_PURE /* tree_fits_uhwi_p is pure only when checking is disabled. */ +#endif + ; extern HOST_WIDE_INT tree_low_cst (const_tree, int); #if !defined ENABLE_TREE_CHECKING && (GCC_VERSION >= 4003) extern inline __attribute__ ((__gnu_inline__)) HOST_WIDE_INT |