* varasm.c (const_rtx_hash_1): Remove const qualifier from shift.

From-SVN: r148713
This commit is contained in:
Ian Lance Taylor 2009-06-19 15:57:06 +00:00 committed by Ian Lance Taylor
parent 50ae5feab3
commit 217655da6f
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2009-06-19 Ian Lance Taylor <iant@google.com>
* varasm.c (const_rtx_hash_1): Remove const qualifier from shift.
2009-06-19 Ian Lance Taylor <iant@google.com>
* rtl.h (SUBREG_PROMOTED_UNSIGNED_P): Add cast to int.

View File

@ -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;