http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59519
--- Comment #13 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Sat Jan 4 11:23:16 2014 New Revision: 206333 URL: http://gcc.gnu.org/viewcvs?rev=206333&root=gcc&view=rev Log: PR tree-optimization/59519 * tree-vect-loop-manip.c (slpeel_update_phi_nodes_for_guard1): Don't ICE if get_current_def (current_new_name) is already non-NULL, as long as it is a phi result of some other phi in *new_exit_bb that has the same argument. * gcc.dg/vect/pr59519-1.c: New test. * gcc.dg/vect/pr59519-2.c: New test. Added: trunk/gcc/testsuite/gcc.dg/vect/pr59519-1.c trunk/gcc/testsuite/gcc.dg/vect/pr59519-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vect-loop-manip.c