https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83202
--- Comment #8 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Thu Nov 30 07:53:31 2017 New Revision: 255267 URL: https://gcc.gnu.org/viewcvs?rev=255267&root=gcc&view=rev Log: 2017-11-30 Richard Biener <rguent...@suse.de> PR tree-optimization/83202 * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Add allow_peel argument and guard peeling. (canonicalize_loop_induction_variables): Likewise. (canonicalize_induction_variables): Pass false. (tree_unroll_loops_completely_1): Pass unroll_outer to disallow peeling from cunrolli. * gcc.dg/vect/pr83202-1.c: New testcase. * gcc.dg/tree-ssa/pr61743-1.c: Adjust. Added: trunk/gcc/testsuite/gcc.dg/vect/pr83202-1.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/gcc.dg/tree-ssa/pr61743-1.c trunk/gcc/tree-ssa-loop-ivcanon.c