re PR tree-optimization/91063 (ICE in set_vinfo_for_stmt, at tree-vectorizer.c:676)
authorJakub Jelinek <jakub@redhat.com>
Thu, 4 Jul 2019 07:25:28 +0000 (09:25 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 4 Jul 2019 07:25:28 +0000 (09:25 +0200)
commit6f01ad76c11eacc9f32539f769e4cb3fd169466a
treec8b90243d826081d07f54eb5c96e4454122b6cfb
parent75da268e1a563a1a52389cd2ecee12d07c45a655
re PR tree-optimization/91063 (ICE in set_vinfo_for_stmt, at tree-vectorizer.c:676)

PR tree-optimization/91063
* tree-vect-stmts.c (vect_init_vector): Call gsi_remove to remove
stmt from stmts sequence before calling vect_init_vector_1.
Formatting fix.

* gcc.dg/gomp/pr91063.c: New test.

From-SVN: r273041
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/gomp/pr91063.c [new file with mode: 0644]
gcc/tree-vect-stmts.c