[Bug tree-optimization/59519] [4.9 Regression] ICE on valid code at -O3 on x86_64-linux-gnu in slpeel_update_phi_nodes_for_guard1, at tree-vect-loop-manip.c:486

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jan 4 11:23:00 GMT 2014


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



More information about the Gcc-bugs mailing list