OSDN Git Service

2007-01-08 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Jan 2007 18:29:18 +0000 (18:29 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Jan 2007 18:29:18 +0000 (18:29 +0000)
commit167a3fa54362dcfe6cb3ef3b92e1d27784c415c4
tree39d3113999a59bc49ff73a06408842ee861973fd
parent06dd9e696544873a14db4c5f832fef0c42f719fd
2007-01-08  Richard Guenther  <rguenther@suse.de>

* tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Use type
of offset to build the index.
* tree-pretty-print.c (dump_generic_node): Don't build negated
const just for printing.
* c-pretty-print.c (pp_c_integer_constant): Likewise.
* builtins.c (fold_builtin_int_roundingfn): Check if result
fits the type by using force_fit_type and comparing the result.
* predict.c (predict_loops): Use compare_tree_int for comparison.
* tree.c (build_int_cst): Fall back to integer_type_node for
NULL_TREE type.
(build_int_cst_wide): Assert type is non-null.

fortran/
* trans-io.c (transfer_array_desc): Use build_int_cst instead
of build_int_cstu.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120586 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.c
gcc/c-pretty-print.c
gcc/fortran/ChangeLog
gcc/fortran/trans-io.c
gcc/predict.c
gcc/tree-pretty-print.c
gcc/tree-ssa-ccp.c
gcc/tree.c