diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-25 19:19:42 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-25 19:19:42 +0000 |
commit | dea3189b45f05f83dc99494d66b5a4311c811ce6 (patch) | |
tree | 25657045a0e1f680a00555098079cb87bb9d1384 /gcc/cselib.c | |
parent | aae87fc346d89bc5cf107a45dd5bade361b16533 (diff) | |
download | gcc-dea3189b45f05f83dc99494d66b5a4311c811ce6.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126926 138bc75d-0d04-0410-961f-82ee72b054a4
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); |