From 2817a2b6b528805a961909d45db96c0e1d14e4f3 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 25 Jun 2018 13:04:38 +0000 Subject: [PATCH] re PR regression/86304 ([MIPS] FAIL: gcc.dg/vect/pr79887.c -mmsa (internal compiler error) starting with r261740) 2018-06-25 Richard Biener PR tree-optimization/86304 * tree-vectorizer.c (vectorize_loops): Walk over new possibly epilogue-if-converted loops as well. From-SVN: r262017 --- gcc/ChangeLog | 6 ++++++ gcc/tree-vectorizer.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1c44a196cfe..84b8b64acba 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2018-06-25 Richard Biener + + PR tree-optimization/86304 + * tree-vectorizer.c (vectorize_loops): Walk over new possibly + epilogue-if-converted loops as well. + 2018-06-25 Jan Hubicka * lto-section-out.c (lto_begin_section): Do not print section diff --git a/gcc/tree-vectorizer.c b/gcc/tree-vectorizer.c index 41f5365a8c2..504a00020d8 100644 --- a/gcc/tree-vectorizer.c +++ b/gcc/tree-vectorizer.c @@ -929,7 +929,7 @@ vectorize_loops (void) /* ----------- Finalize. ----------- */ if (any_ifcvt_loops) - for (i = 1; i < vect_loops_num; i++) + for (i = 1; i < number_of_loops (cfun); i++) { loop = get_loop (cfun, i); if (loop && loop->dont_vectorize) -- 2.30.2