diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-06-19 15:57:06 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-06-19 15:57:06 +0000 |
commit | 8e7b72c45e5d29951181a6089a8a5fcf4d4662d7 (patch) | |
tree | 3a4f0c1086c5faa7e9866607ba70c88fb39f0037 | |
parent | d8708296420e97098d966a0955b5827c0ccdb582 (diff) | |
download | gcc-8e7b72c45e5d29951181a6089a8a5fcf4d4662d7.tar.gz |
* varasm.c (const_rtx_hash_1): Remove const qualifier from shift.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148713 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/varasm.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 154a8de51bf..cb34bee551e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 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. 2009-06-19 Ian Lance Taylor <iant@google.com> 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; |