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)
commit86c24ba6779658d52cef593badc7bc4902ce6702
tree83ca0d8713315521e741171a6fb5bb36b46bcada
parent23e025db703c84f0f22c667faff15d4ac2b86e64
re PR tree-optimization/71521 (Regression in GCC-7.0.0's optimizer)

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