This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/79284] [7 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_gimple failed


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79284

--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Mon Feb  6 19:15:36 2017
New Revision: 245214

URL: https://gcc.gnu.org/viewcvs?rev=245214&root=gcc&view=rev
Log:
        PR tree-optimization/79284
        * tree-vectorizer.h (VECT_SCALAR_BOOLEAN_TYPE_P): Define.
        * tree-vect-stmts.c (vect_get_vec_def_for_operand,
        vectorizable_mask_load_store, vectorizable_operation,
        vect_is_simple_cond, get_same_sized_vectype): Use it instead
        of comparing TREE_CODE of a type against BOOLEAN_TYPE.
        * tree-vect-patterns.c (check_bool_pattern, search_type_for_mask_1,
        vect_recog_bool_pattern, vect_recog_mask_conversion_pattern): Likewise.
        * tree-vect-slp.c (vect_get_constant_vectors): Likewise.
        * tree-vect-loop.c (vect_determine_vectorization_factor): Likewise.
        Remove redundant gimple_code (stmt) == GIMPLE_ASSIGN test after
        is_gimple_assign (stmt).  Replace another such test with
        is_gimple_assign (stmt).
testsuite/
        * gcc.c-torture/compile/pr79284.c: New test.

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]