https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77848
--- Comment #23 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- Author: wschmidt Date: Wed Nov 16 22:17:10 2016 New Revision: 242520 URL: https://gcc.gnu.org/viewcvs?rev=242520&root=gcc&view=rev Log: 2016-11-16 Bill Schmidt <wschm...@linux.vnet.ibm.com> PR tree-optimization/77848 * tree-if-conv.c (version_loop_for_if_conversion): When versioning an outer loop, only save basic block aux information for the inner loop. (versionable_outer_loop_p): New function. (tree_if_conversion): Version the outer loop instead of the inner one if the pattern will be recognized for outer-loop vectorization. Modified: trunk/gcc/ChangeLog trunk/gcc/tree-if-conv.c