https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82228
--- Comment #2 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> --- Author: rsandifo Date: Sat Sep 16 20:39:01 2017 New Revision: 252888 URL: https://gcc.gnu.org/viewcvs?rev=252888&root=gcc&view=rev Log: PR82228: Move ncopies calculation in vectorizable_live_operation This should have been after the early exit for non-vectorised statements. 2017-09-16 Richard Sandiford <richard.sandif...@linaro.org> gcc/ PR tree-optimization/82228 * tree-vect-loop.c (vectorizable_live_operation): Move initialization of ncopies. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-vect-loop.c