[PATCH] Fix PR46190
H.J. Lu
hjl.tools@gmail.com
Sat May 21 19:16:00 GMT 2011
On Wed, Nov 3, 2010 at 6:29 AM, Richard Guenther <rguenther@suse.de> wrote:
>
> This fixes an ICE introduced by the recent fixes for negative step
> vectorization. The issue is that while for positive steps it doesn't
> matter whether we compute peel iterations with the vectorization
> factor it does so for negative steps (or rather the way we compute
> npeel here).
>
> Bootstrapped and tested on x86_64-unknown-linux-gnu, applied.
>
> Richard.
>
> 2010-11-03 Richard Guenther <rguenther@suse.de>
>
> PR tree-optimization/46190
> * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
> Properly compute peel iterations.
>
> * gfortran.dg/pr46190.f90: New testcase.
>
This caused:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49093
H.J.
More information about the Gcc-patches
mailing list