aboutsummaryrefslogtreecommitdiff
path: root/gcc/explow.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/explow.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/explow.c')
-rw-r--r--gcc/explow.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/explow.c b/gcc/explow.c
index 3fb0f94..208d709 100644
--- a/gcc/explow.c
+++ b/gcc/explow.c
@@ -71,12 +71,10 @@ trunc_int_for_mode (HOST_WIDE_INT c, enum machine_mode mode)
return c;
}
-/* Return an rtx for the sum of X and the integer C.
-
- This function should be used via the `plus_constant' macro. */
+/* Return an rtx for the sum of X and the integer C. */
rtx
-plus_constant_wide (rtx x, HOST_WIDE_INT c)
+plus_constant (rtx x, HOST_WIDE_INT c)
{
RTX_CODE code;
rtx y;