https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92581
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- Author: rguenth Date: Tue Nov 19 14:00:46 2019 New Revision: 278445 URL: https://gcc.gnu.org/viewcvs?rev=278445&root=gcc&view=rev Log: 2019-11-19 Richard Biener <rguent...@suse.de> PR tree-optimization/92581 * tree-vect-loop.c (vect_create_epilog_for_reduction): For condition reduction chains gather all conditions involved for computing the index reduction vector. * gcc.dg/vect/vect-cond-reduc-5.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/vect/vect-cond-reduc-5.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop.c