Fix rtl-optimization/78596 - combine.c:12561:14: runtime error: left shift of negativ...
commit67586d38f5b1858fba96973e9341f7d65f64ea9c
authorMarkus Trippelsdorf <markus@trippelsdorf.de>
Thu, 1 Dec 2016 14:04:13 +0000 (1 14:04 +0000)
committerMarkus Trippelsdorf <trippels@gcc.gnu.org>
Thu, 1 Dec 2016 14:04:13 +0000 (1 14:04 +0000)
tree6d5f389bb68e5a5a03cb2486febc70f0b90005ee
parent8e9c33cd3bd55c2364a2efc7fc2de0957d7b991d
Fix rtl-optimization/78596 - combine.c:12561:14: runtime error: left shift of negative value

PR rtl-optimization/78596
* combine.c (simplify_comparison): Cast to unsigned to avoid
left shifting of negative value.

From-SVN: r243111
gcc/ChangeLog
gcc/combine.c