aboutsummaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cse.c')
-rw-r--r--gcc/cse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cse.c b/gcc/cse.c
index a304bc6..d729cb2 100644
--- a/gcc/cse.c
+++ b/gcc/cse.c
@@ -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,