From 5e4319714768bb3e314e7653c4d71e73358c4ace Mon Sep 17 00:00:00 2001 From: ghazi Date: Tue, 4 Apr 2000 02:24:50 +0000 Subject: * sparc.c (output_restore_regs): Prototype. (sparc_emit_float_lib_cmp): Constification. * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise. * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify): Prototype. * simplify-rtx.c (entry_and_rtx_equal_p): Constification. (get_value_hash, hash_rtx): Likewise. * ssa.c (compute_conservative_reg_partition): Prototype. * tree.c (mark_hash_entry): Prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32896 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/emit-rtl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/emit-rtl.c') diff --git a/gcc/emit-rtl.c b/gcc/emit-rtl.c index b67e9f131a7..feead7697dc 100644 --- a/gcc/emit-rtl.c +++ b/gcc/emit-rtl.c @@ -191,7 +191,7 @@ static hashval_t const_int_htab_hash (x) const void *x; { - return (hashval_t) INTVAL ((rtx) x); + return (hashval_t) INTVAL ((const struct rtx_def *) x); } /* Returns non-zero if the value represented by X (which is really a @@ -203,7 +203,7 @@ const_int_htab_eq (x, y) const void *x; const void *y; { - return (INTVAL ((rtx) x) == *((HOST_WIDE_INT *) y)); + return (INTVAL ((const struct rtx_def *) x) == *((const HOST_WIDE_INT *) y)); } /* Mark the hash-table element X (which is really a pointer to an -- cgit v1.2.1