re PR tree-optimization/86637 (ICE: tree check: expected block, have <invalid tree...
authorRichard Biener <rguenther@suse.de>
Wed, 5 Dec 2018 11:36:03 +0000 (11:36 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 5 Dec 2018 11:36:03 +0000 (11:36 +0000)
2018-12-05  Richard Biener  <rguenther@suse.de>

PR tree-optimization/86637
* tree-vectorizer.c (pass_slp_vectorize::execute): Reset
vect_location at the end.

From-SVN: r266821

gcc/ChangeLog
gcc/tree-vectorizer.c

index a119bb3aaef8c34833c77f916e4aeb190cdd2da5..abff5132fc404b4dba38bdffe5be2b182143d4a7 100644 (file)
@@ -1,3 +1,9 @@
+2018-12-05  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/86637
+       * tree-vectorizer.c (pass_slp_vectorize::execute): Reset
+       vect_location at the end.
+
 2018-12-05  Jakub Jelinek  <jakub@redhat.com>
 
        PR tree-optimization/87360
index 0a4eca51ad7b93b32ba136372589eac50de9ac79..1a6cb56a8725a83a02582f5544cd74a2785270ca 100644 (file)
@@ -1303,6 +1303,8 @@ pass_slp_vectorize::execute (function *fun)
       loop_optimizer_finalize ();
     }
 
+  vect_location = dump_user_location_t ();
+
   return 0;
 }