cselib.c (cselib_hash_rtx): Perform addition in unsigned type to avoid signed integer...
authorJakub Jelinek <jakub@redhat.com>
Tue, 25 Mar 2014 09:27:54 +0000 (10:27 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 25 Mar 2014 09:27:54 +0000 (10:27 +0100)
commita8acccddfd67f1a0c6c4716700e188b1d0f1a148
tree0a1161c992db7af1af2107a57cc510c6a2082954
parent57fc74a48b0ba0cd42c26de3813569b0c43d07ac
cselib.c (cselib_hash_rtx): Perform addition in unsigned type to avoid signed integer overflow.

* cselib.c (cselib_hash_rtx): Perform addition in unsigned
type to avoid signed integer overflow.
* explow.c (plus_constant): Likewise.

From-SVN: r208804
gcc/ChangeLog
gcc/cselib.c
gcc/explow.c