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 a119bb3..abff513 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 0a4eca5..1a6cb56 100644 (file)
@@ -1303,6 +1303,8 @@ pass_slp_vectorize::execute (function *fun)
       loop_optimizer_finalize ();
     }
 
+  vect_location = dump_user_location_t ();
+
   return 0;
 }