https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92317
--- Comment #3 from avieira at gcc dot gnu.org --- Author: avieira Date: Wed Nov 6 11:22:35 2019 New Revision: 277877 URL: https://gcc.gnu.org/viewcvs?rev=277877&root=gcc&view=rev Log: [vect] PR92317: fix skip_epilogue creation for epilogues gcc/ChangeLog: 2019-11-06 Andre Vieira <andre.simoesdiasvie...@arm.com> PR tree-optimization/92317 * tree-vect-loop-manip.c (slpeel_update_phi_nodes_for_guard2): Also update phi's with constant phi arguments. gcc/testsuite/ChangeLog: 2019-11-06 Andre Vieira <andre.simoesdiasvie...@arm.com> PR tree-optimization/92317 * gcc/testsuite/g++.dg/opt/pr92317.C: New test. Added: trunk/gcc/testsuite/g++.dg/opt/pr92317.C Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop-manip.c