tree-ssa-reassoc.c (optimize_range_tests_diff): Perform MINUS_EXPR in unsigned type...
authorJakub Jelinek <jakub@redhat.com>
Wed, 15 Oct 2014 10:33:02 +0000 (12:33 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 15 Oct 2014 10:33:02 +0000 (12:33 +0200)
commitdb247aed5ebb6e8995f24f5e12f4acde8ee52ce5
tree4f7b3a2f04fe397428dc9d83c92631b4272f109f
parentd110c3ed97ac3a7083fa32f7f1f53984ebdf1d92
tree-ssa-reassoc.c (optimize_range_tests_diff): Perform MINUS_EXPR in unsigned type to avoid undefined behavior.

* tree-ssa-reassoc.c (optimize_range_tests_diff): Perform
MINUS_EXPR in unsigned type to avoid undefined behavior.

From-SVN: r216252
gcc/ChangeLog
gcc/tree-ssa-reassoc.c