diff options
author | Kenneth Zadeck <zadeck@naturalbridge.com> | 2013-11-19 00:00:17 +0000 |
---|---|---|
committer | Kenneth Zadeck <zadeck@gcc.gnu.org> | 2013-11-19 00:00:17 +0000 |
commit | bd6337aaeb4bec97f863a1d83e223eda7ecf8864 (patch) | |
tree | 42197e4b28ac4cd679cd3cbb4a4765da6c17791a /gcc/tree.c | |
parent | 4ca1930986eb7cb7eae67b74b74bd0ed3717ad83 (diff) | |
download | gcc-bd6337aaeb4bec97f863a1d83e223eda7ecf8864.zip gcc-bd6337aaeb4bec97f863a1d83e223eda7ecf8864.tar.gz gcc-bd6337aaeb4bec97f863a1d83e223eda7ecf8864.tar.bz2 |
tree.c (int_fits_type_p): Change GET_MODE_BITSIZE to GET_MODE_PRECISION.
2013-11-18 Kenneth Zadeck <zadeck@naturalbridge.com>
* tree.c (int_fits_type_p): Change GET_MODE_BITSIZE to
GET_MODE_PRECISION.
* fold-const.c (fold_single_bit_test_into_sign_test)
(fold_binary_loc): Change GET_MODE_BITSIZE to
GET_MODE_PRECISION.
From-SVN: r204987
Diffstat (limited to 'gcc/tree.c')
-rw-r--r-- | gcc/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8629,7 +8629,7 @@ retry: /* Third, unsigned integers with top bit set never fit signed types. */ if (! TYPE_UNSIGNED (type) && unsc) { - int prec = GET_MODE_BITSIZE (TYPE_MODE (TREE_TYPE (c))) - 1; + int prec = GET_MODE_PRECISION (TYPE_MODE (TREE_TYPE (c))) - 1; if (prec < HOST_BITS_PER_WIDE_INT) { if (((((unsigned HOST_WIDE_INT) 1) << prec) & dc.low) != 0) |