summaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-20 23:02:36 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-20 23:02:36 +0000
commit1e9d55d7578c83f6b7a857c3b76fb7d00de83cbc (patch)
tree6d50b755c8622194a6e194950e1a5674f3ccffd4 /gcc/tree.c
parent6a050d3033ffeeb7c68ba3683658406e4d8da464 (diff)
downloadgcc-1e9d55d7578c83f6b7a857c3b76fb7d00de83cbc.tar.gz
* rtl.h (plus_constant): Delete.
(plus_constant_wide): Rename to plus_constant. (plus_constant_for_output_wide): Delete vestigial prototype. (GEN_INT): Remove unnecessary cast. * tree.h (build_int_2, size_int_type): Delete. (build_int_2_wide): Rename to build_int_2. (size_int_wide): Rename to size_int_kind. (size_int_type_wide): Rename to size_int_type. (size_int, ssize_int, bitsize_int, sbitsize_int): Use size_int_kind. Remove unnecessary cast. * tree.c (build_int_2_wide): Rename build_int_2; update comment. * explow.c (plus_constant_wide): Rename plus_constant; update comment. * fold-const.c (size_int_wide): Rename size_int_kind. Use size_int_type. (size_int_type_wide): Rename size_int_type. (int_const_binop): Use size_int_type. * c-lex.c (interpret_integer): Use build_int_2. * final.c (split_double): Remove unnecessary casts. * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Use build_int_2. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84976 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree.c')
-rw-r--r--gcc/tree.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/tree.c b/gcc/tree.c
index 564cd0e9a22..9122df5437f 100644
--- a/gcc/tree.c
+++ b/gcc/tree.c
@@ -422,12 +422,10 @@ copy_list (tree list)
/* Return a newly constructed INTEGER_CST node whose constant value
is specified by the two ints LOW and HI.
- The TREE_TYPE is set to `int'.
-
- This function should be used via the `build_int_2' macro. */
+ The TREE_TYPE is set to `int'. */
tree
-build_int_2_wide (unsigned HOST_WIDE_INT low, HOST_WIDE_INT hi)
+build_int_2 (unsigned HOST_WIDE_INT low, HOST_WIDE_INT hi)
{
tree t = make_node (INTEGER_CST);