From 217655da6f8d9c11e77452d5b4ed421205716bac Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 19 Jun 2009 15:57:06 +0000 Subject: [PATCH] * varasm.c (const_rtx_hash_1): Remove const qualifier from shift. From-SVN: r148713 --- gcc/ChangeLog | 4 ++++ gcc/varasm.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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;