diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-13 05:39:00 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-01-13 05:39:00 +0000 |
commit | eddad94a1d857a375f8c286d795679ec4718ced4 (patch) | |
tree | e6f9075eb903f1a0ecf0a576fa00b45214c11b15 /gcc/convert.c | |
parent | 7e4767132361a420a3b82a1a093215c0d7121c85 (diff) | |
download | gcc-eddad94a1d857a375f8c286d795679ec4718ced4.tar.gz |
* tree.h (force_fit_type_double): Remove unused final argument.
* c-common.c (constant_expression_warning): Replace use of
TREE_CONSTANT_OVERFLOW with TREE_OVERFLOW.
(convert_and_check): Likewise.
(shorten_compare): Update call to force_fit_type_double.
(c_common_truthvalue_conversion) <INTEGER_CST>: Use integer_zerop.
* convert.c (convert_to_pointer): Update call to
force_fit_type_double.
* fold-const.c (force_fit_type_double): Remove overflowed_const
argument.
(int_const_binop, fold_convert_const_int_from_int,
fold_convert_const_int_from_real, fold_div_compare,
fold_sign_changed_comparison, fold_unary, fold_negate_const,
fold_abs_const, fold_not_const): Remove the final argument from
calls to force_fit_type_double.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120746 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/convert.c')
-rw-r--r-- | gcc/convert.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/convert.c b/gcc/convert.c index 771401ead2d..b7d26ee3c0a 100644 --- a/gcc/convert.c +++ b/gcc/convert.c @@ -47,8 +47,7 @@ convert_to_pointer (tree type, tree expr) /* Propagate overflow to the NULL pointer. */ if (integer_zerop (expr)) - return force_fit_type_double (type, 0, 0, 0, TREE_OVERFLOW (expr), - false); + return force_fit_type_double (type, 0, 0, 0, TREE_OVERFLOW (expr)); switch (TREE_CODE (TREE_TYPE (expr))) { |