re PR bootstrap/57266 (comparison between signed and unsigned integer expressions...
authorMarc Glisse <marc.glisse@inria.fr>
Tue, 14 May 2013 12:06:27 +0000 (14:06 +0200)
committerMarc Glisse <glisse@gcc.gnu.org>
Tue, 14 May 2013 12:06:27 +0000 (12:06 +0000)
commitd4c52634cef1d2e86c3b460a1128e3301ecf769d
tree7b1f5f3eee75e4a26ff6eeaf75ffdb4e0d3c548d
parent2b2612629120fe1a8aaf46d126e5f2631ddc9cf8
re PR bootstrap/57266 (comparison between signed and unsigned integer expressions in fold_binary_loc breaks m68k bootstrap)

2013-05-14  Marc Glisse  <marc.glisse@inria.fr>

PR bootstrap/57266
* fold-const.c (fold_binary_loc) <shift>: Use an unsigned
variable for the shift amount. Check that we shift by non-negative
amounts.

From-SVN: r198880
gcc/ChangeLog
gcc/fold-const.c