aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2004-07-20 23:02:36 +0000
committerZack Weinberg <zack@gcc.gnu.org>2004-07-20 23:02:36 +0000
commit3e95a7cbf534c8f738a3267773f03dfe80d69484 (patch)
tree6d50b755c8622194a6e194950e1a5674f3ccffd4 /gcc/tree.c
parent14797075918d654f5af84c932568b9e18613ba39 (diff)
downloadgcc-3e95a7cbf534c8f738a3267773f03dfe80d69484.zip
gcc-3e95a7cbf534c8f738a3267773f03dfe80d69484.tar.gz
gcc-3e95a7cbf534c8f738a3267773f03dfe80d69484.tar.bz2
rtl.h (plus_constant): Delete.
* 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. From-SVN: r84976
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 564cd0e..9122df5 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);