]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR tree-optimization/71521 (Regression in GCC-7.0.0's optimizer)
authorRichard Biener <rguenth@gcc.gnu.org>
Tue, 14 Jun 2016 10:28:23 +0000 (10:28 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 14 Jun 2016 10:28:23 +0000 (10:28 +0000)
2016-06-14  Richard Biener  <rguenther@suse.de>

PR tree-optimization/71521
* tree-vrp.c (extract_range_from_binary_expr_1): Guard
division int_const_binop against zero divisor.

* gcc.dg/tree-ssa/vrp101.c: New testcase.

From-SVN: r237428

gcc/testsuite/ChangeLog

index a61661455e363b3ab959a6df3ee391e93aef40f3..9b38c06854c1e074bd127ce723d466713a73f532 100644 (file)
@@ -6,8 +6,7 @@
 2016-06-14  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/71521
-       * tree-vrp.c (extract_range_from_binary_expr_1): Guard
-       division int_const_binop against zero divisor.
+       * gcc.dg/tree-ssa/vrp101.c: New testcase.
 
 2016-06-13  Jakub Jelinek  <jakub@redhat.com>