re PR middle-end/77920 (186.crafty doesn't compile)
authorRichard Biener <rguenther@suse.de>
Wed, 12 Oct 2016 07:08:49 +0000 (07:08 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 12 Oct 2016 07:08:49 +0000 (07:08 +0000)
commit7dc2f5f1236a0f1544c756c46a5cd06491e96934
tree4e8e8161e311f5f7a1df12b3e91addf2c2f04eb3
parent4a8b97cb8af6e8632e1674ac82611b4d45c17b53
re PR middle-end/77920 (186.crafty doesn't compile)

2016-10-12  Richard Biener  <rguenther@suse.de>

PR tree-optimization/77920
* tree-vrp.c (simplify_div_or_mod_using_ranges): Simplify.
(simplify_min_or_max_using_ranges): Pass in gsi and use it.
(simplify_abs_using_ranges): Likewise.
(simplify_conversion_using_ranges): Likewise.
(simplify_stmt_using_ranges): Adjust.

* gcc.dg/torture/pr77920.c: New testcase.

From-SVN: r241020
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr77920.c [new file with mode: 0644]
gcc/tree-vrp.c