re PR tree-optimization/48172 (incorrect vectorization of loop in GCC 4.5.* with...
authorRichard Guenther <rguenther@suse.de>
Thu, 12 May 2011 12:14:45 +0000 (12:14 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 12 May 2011 12:14:45 +0000 (12:14 +0000)
commite2a3a5f1add296430b85b6b6be24b7340a7bcc9e
treecf899c907f573aea77afa842e6421886a7bacd7d
parent2c703f3a6a2a283318a0678fc8a5eba27b6663df
re PR tree-optimization/48172 (incorrect vectorization of loop in GCC 4.5.* with -O3)

2011-05-12  Richard Guenther  <rguenther@suse.de>

PR tree-optimization/48172
* tree-vect-loop-manip.c (vect_vfa_segment_size): Do not exclude
the number of iterations from the segment size calculation.
(vect_create_cond_for_alias_checks): Adjust.

* gcc.dg/vect/pr48172.c: New testcase.

From-SVN: r173703
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr48172.c [new file with mode: 0644]
gcc/tree-vect-loop-manip.c