[Bug middle-end/50650] [4.7 Regression] ICE in vect_is_simple_use_1, at tree-vect-stmts.c:5689

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Oct 7 11:48:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50650

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-10-07 11:48:07 UTC ---
Author: jakub
Date: Fri Oct  7 11:48:03 2011
New Revision: 179653

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179653
Log:
    PR tree-optimization/50650
    * tree-vect-patterns.c (vect_recog_mixed_size_cond_pattern): Don't
    call vect_is_simple_cond here, instead fail if cond_expr isn't
    COMPARISON_CLASS_P or if get_vectype_for_scalar_type returns NULL
    for cond_expr's first operand.
    * tree-vect-stmts.c (vect_is_simple_cond): Static again.
    * tree-vectorizer.h (vect_is_simple_cond): Remove prototype.

    * gcc.c-torture/compile/pr50650.c: New test.

Added:
    trunk/gcc/testsuite/gcc.c-torture/compile/pr50650.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-vect-patterns.c
    trunk/gcc/tree-vect-stmts.c
    trunk/gcc/tree-vectorizer.h



More information about the Gcc-bugs mailing list