diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1999-10-26 18:13:38 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1999-10-26 18:13:38 +0000 |
commit | ec0ce6e261a7963807419c597bb8644e7a7972ff (patch) | |
tree | 40abe675a8aa34a0e0ee833d87a1bb5ee20dd16c /gcc/cse.c | |
parent | d8d79d15881ec97586e941c199e94a9c88088aca (diff) | |
download | gcc-ec0ce6e261a7963807419c597bb8644e7a7972ff.zip gcc-ec0ce6e261a7963807419c597bb8644e7a7972ff.tar.gz gcc-ec0ce6e261a7963807419c597bb8644e7a7972ff.tar.bz2 |
c-parse.in (cast_expr): Constify.
* c-parse.in (cast_expr): Constify.
* cccp.c (special_symbol): Likewise.
* cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
* dwarf2out.c (base_type_die): Likewise.
* global.c (allocno_compare): Likewise.
* local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
* regclass.c (fix_register): Likewise.
* rtl.h (fix_register): Likewise.
* stupid.c (stupid_reg_compare): Likewise.
* toplev.c (decode_f_option): Likewise.
* tree.c (build_complex_type): Likewise.
From-SVN: r30196
Diffstat (limited to 'gcc/cse.c')
-rw-r--r-- | gcc/cse.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -899,7 +899,7 @@ static unsigned int hash_cse_reg_info (el_ptr) hash_table_entry_t el_ptr; { - return ((struct cse_reg_info *) el_ptr)->regno; + return ((const struct cse_reg_info *) el_ptr)->regno; } static int @@ -907,8 +907,8 @@ cse_reg_info_equal_p (el_ptr1, el_ptr2) hash_table_entry_t el_ptr1; hash_table_entry_t el_ptr2; { - return (((struct cse_reg_info *) el_ptr1)->regno - == ((struct cse_reg_info *) el_ptr2)->regno); + return (((const struct cse_reg_info *) el_ptr1)->regno + == ((const struct cse_reg_info *) el_ptr2)->regno); } /* Clear the hash table and initialize each register with its own quantity, |