diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2004-07-20 23:02:36 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2004-07-20 23:02:36 +0000 |
commit | 3e95a7cbf534c8f738a3267773f03dfe80d69484 (patch) | |
tree | 6d50b755c8622194a6e194950e1a5674f3ccffd4 /gcc/rtl.h | |
parent | 14797075918d654f5af84c932568b9e18613ba39 (diff) | |
download | gcc-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/rtl.h')
-rw-r--r-- | gcc/rtl.h | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -1564,8 +1564,6 @@ extern int generating_concat_p; /* In expmed.c */ extern int ceil_log2 (unsigned HOST_WIDE_INT); -#define plus_constant(X, C) plus_constant_wide ((X), (HOST_WIDE_INT) (C)) - /* In builtins.c */ extern rtx expand_builtin_expect_jump (tree, rtx, rtx); extern void purge_builtin_constant_p (void); @@ -1573,8 +1571,7 @@ extern void purge_builtin_constant_p (void); /* In explow.c */ extern void set_stack_check_libfunc (rtx); extern HOST_WIDE_INT trunc_int_for_mode (HOST_WIDE_INT, enum machine_mode); -extern rtx plus_constant_wide (rtx, HOST_WIDE_INT); -extern rtx plus_constant_for_output_wide (rtx, HOST_WIDE_INT); +extern rtx plus_constant (rtx, HOST_WIDE_INT); extern void optimize_save_area_alloca (void); /* In emit-rtl.c */ @@ -2019,9 +2016,7 @@ extern rtx gen_rtx_REG (enum machine_mode, unsigned); extern rtx gen_rtx_SUBREG (enum machine_mode, rtx, int); extern rtx gen_rtx_MEM (enum machine_mode, rtx); -/* We need the cast here to ensure that we get the same result both with - and without prototypes. */ -#define GEN_INT(N) gen_rtx_CONST_INT (VOIDmode, (HOST_WIDE_INT) (N)) +#define GEN_INT(N) gen_rtx_CONST_INT (VOIDmode, (N)) /* Virtual registers are used during RTL generation to refer to locations into the stack frame when the actual location isn't known until RTL generation |