http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48172
--- Comment #16 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-05-18 13:24:09 UTC --- Author: rguenth Date: Wed May 18 13:24:05 2011 New Revision: 173859 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173859 Log: 2011-05-18 Richard Guenther <rguent...@suse.de> Backport from mainline 2011-05-12 Richard Guenther <rguent...@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. 2011-05-13 Richard Guenther <rguent...@suse.de> PR tree-optimization/48172 * tree-vect-loop-manip.c (vect_vfa_segment_size): Avoid multiplying by number of iterations for equal step. (vect_create_cond_for_alias_checks): Likewise. * gcc.dg/vect/pr48172.c: New testcase. Added: branches/gcc-4_6-branch/gcc/testsuite/gcc.dg/vect/pr48172.c Modified: branches/gcc-4_6-branch/gcc/ChangeLog branches/gcc-4_6-branch/gcc/testsuite/ChangeLog branches/gcc-4_6-branch/gcc/tree-vect-loop-manip.c