re PR tree-optimization/91033 (ICE in vect_analyze_loop, at tree-vect-loop.c:2416)
authorJakub Jelinek <jakub@redhat.com>
Wed, 3 Jul 2019 08:25:22 +0000 (10:25 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 3 Jul 2019 08:25:22 +0000 (10:25 +0200)
commita7b3509eb6aa51d696be5edba6f4e451ceff03a0
tree18fdfea0a32e9d6ffd8e5b7473c2100bf0e930ec
parent49d0d5fc6f893804061894202596933e0c396705
re PR tree-optimization/91033 (ICE in vect_analyze_loop, at tree-vect-loop.c:2416)

PR tree-optimization/91033
* tree-vectorizer.h (vect_mark_stmts_to_be_vectorized,
vect_analyze_data_refs): Add bool * arguments.
* tree-vect-data-refs.c (vect_analyze_data_refs): Add fatal argument,
if failure is due to scatter/gather, set *fatal to false if non-NULL.
* tree-vect-stmts.c (vect_mark_stmts_to_be_vectorized): Likewise.
* tree-vect-loop.c (vect_analyze_loop_2): Adjust
vect_mark_stmts_to_be_vectorized and vect_analyze_data_refs callers.
* tree-vect-slp.c (vect_slp_analyze_bb_1): Adjust
vect_analyze_data_refs caller.

* gcc.target/i386/pr91033.c: New test.

From-SVN: r272989
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr91033.c [new file with mode: 0644]
gcc/tree-vect-data-refs.c
gcc/tree-vect-loop.c
gcc/tree-vect-slp.c
gcc/tree-vect-stmts.c
gcc/tree-vectorizer.h