summaryrefslogtreecommitdiff
path: root/gcc/rtl.h
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/rtl.h
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/rtl.h')
-rw-r--r--gcc/rtl.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index a0368451395..2a8da5b4971 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -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