re PR tree-optimization/86232 (ICE in record_estimate, at tree-ssa-loop-niter.c:3258)
authorRichard Biener <rguenther@suse.de>
Thu, 21 Jun 2018 11:22:12 +0000 (11:22 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 21 Jun 2018 11:22:12 +0000 (11:22 +0000)
commit8732dd82418090d9bb0f6279d0e5a5af52266d6b
tree5a84eea808b290e0d2bad8ce2c7a7f33a05be8d9
parent9b2e34ef6d56fae077b175d73d6f7440af8eba25
re PR tree-optimization/86232 (ICE in record_estimate, at tree-ssa-loop-niter.c:3258)

2018-06-21  Richard Biener  <rguenther@suse.de>

PR tree-optimization/86232
* tree-ssa-loop-niter.c (number_of_iterations_popcount): Adjust
max for constant niter.

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

From-SVN: r261843
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr86232.c [new file with mode: 0644]
gcc/tree-ssa-loop-niter.c