re PR tree-optimization/77605 (wrong code at -O3 on x86_64-linux-gnu)
authorRichard Biener <rguenther@suse.de>
Mon, 19 Sep 2016 06:55:17 +0000 (06:55 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 19 Sep 2016 06:55:17 +0000 (06:55 +0000)
commitae5276392fb59dbdec56dd8cc6cc8253d9334c8b
tree92c04dc20ae233a40fcee15fb98698f932e77acc
parented4fd957296b0633d21996a9c4cd5a5f3a2ee2ba
re PR tree-optimization/77605 (wrong code at -O3 on x86_64-linux-gnu)

2016-09-19  Richard Biener  <rguenther@suse.de>

PR middle-end/77605
* tree-data-ref.c (analyze_subscript_affine_affine): Use the
proper niter to bound the loops.

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

From-SVN: r240227
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr77605.c [new file with mode: 0644]
gcc/tree-data-ref.c