tree.h (force_fit_type_double): Export.
authorRichard Guenther <rguenther@suse.de>
Mon, 8 Jan 2007 23:07:44 +0000 (23:07 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 8 Jan 2007 23:07:44 +0000 (23:07 +0000)
commitb8fca551dbabd7a3e9ae32d01f3000885cb2e19e
treeb906bda57fe5b087786f0082a6716e47d14d48b7
parent2ac7cbb53296e6006d7c113d81175dd455fd570b
tree.h (force_fit_type_double): Export.

2007-01-08  Richard Guenther  <rguenther@suse.de>

* tree.h (force_fit_type_double): Export.
(force_fit_type): Remove.
* fold-const.c (force_fit_type_double): New function.
(force_fit_type): Remove.
(int_const_binop): Use it.
(fold_convert_const_int_from_int): Likewise.
(fold_convert_const_int_from_real): Likewise.
(fold_div_compare): Likewise.
(fold_sign_changed_comparison): Likewise.
(fold_unary): Likewise.
(fold_negate_const): Likewise.
(fold_abs_const): Likewise.
(fold_not_const): Likewise.
* c-common.c (shorten_compare): Use force_fit_type_double.
* convert.c (convert_to_pointer): Likewise.

From-SVN: r120597
gcc/ChangeLog
gcc/c-common.c
gcc/convert.c
gcc/fold-const.c
gcc/tree.h