On Thu, Dec 5, 2013 at 6:46 AM, Richard Biener <rguent...@suse.de> wrote: > > This finally fixes PR59058. > > Bootstrapped on x86_64-unknown-linux-gnu, testing in progress. > > Richard. > > 2013-12-05 Richard Biener <rguent...@suse.de> > > PR tree-optimization/59058 > * tree-vectorizer.h (struct _loop_vec_info): Add num_itersm1 > member. > (LOOP_VINFO_NITERSM1): New macro. > * tree-vect-loop-manip.c (slpeel_tree_peel_loop_to_edge): Express > the vector loop entry test in terms of scalar latch executions. > (vect_do_peeling_for_alignment): Update LOOP_VINFO_NITERSM1. > * tree-vect-loop.c (vect_get_loop_niters): Also return the > number of latch executions. > (new_loop_vec_info): Initialize LOOP_VINFO_NITERSM1. > (vect_analyze_loop_form): Likewise. > (vect_generate_tmps_on_preheader): Compute the number of > vectorized iterations differently. >
This caused: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59409 -- H.J.