From f7d5864294f77afeae9aa72b55e3cdfe1c24e5b2 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 5 Dec 2018 11:36:03 +0000 Subject: [PATCH] re PR tree-optimization/86637 (ICE: tree check: expected block, have in inlining_chain_to_json, at optinfo-emit-json.cc:293) 2018-12-05 Richard Biener PR tree-optimization/86637 * tree-vectorizer.c (pass_slp_vectorize::execute): Reset vect_location at the end. From-SVN: r266821 --- gcc/ChangeLog | 6 ++++++ gcc/tree-vectorizer.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a119bb3aaef..abff5132fc4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-12-05 Richard Biener + + PR tree-optimization/86637 + * tree-vectorizer.c (pass_slp_vectorize::execute): Reset + vect_location at the end. + 2018-12-05 Jakub Jelinek PR tree-optimization/87360 diff --git a/gcc/tree-vectorizer.c b/gcc/tree-vectorizer.c index 0a4eca51ad7..1a6cb56a872 100644 --- a/gcc/tree-vectorizer.c +++ b/gcc/tree-vectorizer.c @@ -1303,6 +1303,8 @@ pass_slp_vectorize::execute (function *fun) loop_optimizer_finalize (); } + vect_location = dump_user_location_t (); + return 0; } -- 2.30.2