diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2007-07-25 19:19:42 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2007-07-25 19:19:42 +0000 |
commit | e5cfc29f59efc9a8b8bc29c35ab160ae4d76c2b6 (patch) | |
tree | 25657045a0e1f680a00555098079cb87bb9d1384 /gcc/cselib.c | |
parent | 741ac903839251f16d331f4d1c11f444eaec684f (diff) | |
download | gcc-e5cfc29f59efc9a8b8bc29c35ab160ae4d76c2b6.tar.gz |
cselib.c (entry_and_rtx_equal_p): Constify.
* cselib.c (entry_and_rtx_equal_p): Constify.
* gengtype.c (output_mangled_typename, write_types, write_local):
Likewise.
* gengtype.h (const_type_p): New.
* see.c (eq_descriptor_extension, hash_descriptor_extension):
Constify.
* tlink.c (scan_linker_output): De-constify.
* tree-ssa-loop-im.c (memref_eq): Constify.
* tree-ssa-structalias.c (const_shared_bitmap_info_t): New.
(shared_bitmap_hash, shared_bitmap_eq): Constify.
cp:
* parser.c (cp_parser_string_literal, cp_parser_sizeof_operand):
Constify.
From-SVN: r126926
Diffstat (limited to 'gcc/cselib.c')
-rw-r--r-- | gcc/cselib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cselib.c b/gcc/cselib.c index 3528efb7e0e..54af8e1bfa8 100644 --- a/gcc/cselib.c +++ b/gcc/cselib.c @@ -234,7 +234,7 @@ static int entry_and_rtx_equal_p (const void *entry, const void *x_arg) { struct elt_loc_list *l; - const cselib_val *v = (const cselib_val *) entry; + const cselib_val *const v = (const cselib_val *) entry; rtx x = (rtx) x_arg; enum machine_mode mode = GET_MODE (x); |