summaryrefslogtreecommitdiff
path: root/gcc/cselib.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2007-07-25 19:19:42 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2007-07-25 19:19:42 +0000
commite5cfc29f59efc9a8b8bc29c35ab160ae4d76c2b6 (patch)
tree25657045a0e1f680a00555098079cb87bb9d1384 /gcc/cselib.c
parent741ac903839251f16d331f4d1c11f444eaec684f (diff)
downloadgcc-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.c2
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);