diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 154a8de51bf..cb34bee551e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2009-06-19 Ian Lance Taylor + + * varasm.c (const_rtx_hash_1): Remove const qualifier from shift. + 2009-06-19 Ian Lance Taylor * rtl.h (SUBREG_PROMOTED_UNSIGNED_P): Add cast to int. diff --git a/gcc/varasm.c b/gcc/varasm.c index c749f959c78..f7d1d1871f9 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -3445,7 +3445,7 @@ const_rtx_hash_1 (rtx *xp, void *data) hwi = INTVAL (x); fold_hwi: { - const int shift = sizeof (hashval_t) * CHAR_BIT; + int shift = sizeof (hashval_t) * CHAR_BIT; const int n = sizeof (HOST_WIDE_INT) / sizeof (hashval_t); int i;