builtins.c (fold_builtin_int_roundingfn): Use fit_double_type.
authorRichard Guenther <rguenther@suse.de>
Mon, 8 Jan 2007 22:17:43 +0000 (22:17 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 8 Jan 2007 22:17:43 +0000 (22:17 +0000)
commit2b60792f2b31e4b305033502a6717a76308dff50
tree97a13c6eafb874c8f14484040aaf7da2c160f41f
parent61fcaeefb219b791d9161525fb2fd83066693898
builtins.c (fold_builtin_int_roundingfn): Use fit_double_type.

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

* builtins.c (fold_builtin_int_roundingfn): Use fit_double_type.
* tree.c (build_int_cst_type): Likewise.
(size_in_bytes): Don't call force_fit_type on the result.
(int_fits_type_p): Use fit_double_type.
* fold-const.c (fit_double_type): New function.
(force_fit_type): Use it.
* tree.h (fit_double_type): Export.

From-SVN: r120593
gcc/ChangeLog
gcc/builtins.c
gcc/fold-const.c
gcc/tree.c
gcc/tree.h