diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2000-04-04 02:24:50 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2000-04-04 02:24:50 +0000 |
commit | e77d72cbc052a2462231aa1848d3e220a471d098 (patch) | |
tree | 843fa327c4739c577ba1794ec00c5fe4dd814da2 /gcc/simplify-rtx.c | |
parent | bad3c76d531f984716d4c585046d7f254fd88e86 (diff) | |
download | gcc-e77d72cbc052a2462231aa1848d3e220a471d098.zip gcc-e77d72cbc052a2462231aa1848d3e220a471d098.tar.gz gcc-e77d72cbc052a2462231aa1848d3e220a471d098.tar.bz2 |
sparc.c (output_restore_regs): Prototype.
* 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.
From-SVN: r32896
Diffstat (limited to 'gcc/simplify-rtx.c')
-rw-r--r-- | gcc/simplify-rtx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/simplify-rtx.c b/gcc/simplify-rtx.c index 22549b4..9e26743 100644 --- a/gcc/simplify-rtx.c +++ b/gcc/simplify-rtx.c @@ -2141,7 +2141,7 @@ entry_and_rtx_equal_p (entry, x_arg) const void *entry, *x_arg; { struct elt_loc_list *l; - cselib_val *v = (cselib_val *)entry; + const cselib_val *v = (const cselib_val *)entry; rtx x = (rtx)x_arg; /* We don't guarantee that distinct rtx's have different hash values, @@ -2159,7 +2159,7 @@ static unsigned int get_value_hash (entry) const void *entry; { - cselib_val *v = (cselib_val *) entry; + const cselib_val *v = (const cselib_val *) entry; return v->value; } @@ -2543,7 +2543,7 @@ hash_rtx (x, mode, create) } else if (fmt[i] == 's') { - unsigned char *p = (unsigned char *) XSTR (x, i); + const unsigned char *p = (const unsigned char *) XSTR (x, i); if (p) while (*p) hash += *p++; |