From 6eb2ac659ce3c958b78ec4f2bbdb78b8170df0ae Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 7 Jun 2017 09:10:17 +0000 Subject: [PATCH] re PR tree-optimization/80928 (SLP vectorization does not handle induction in outer loop vectorization) 2017-06-07 Richard Biener PR tree-optimization/80928 * gcc.dg/vect/slp-perm-8.c: Avoid vectorizing loop computing check_results. From-SVN: r248948 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.dg/vect/slp-perm-8.c | 1 + 2 files changed, 7 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bd12c4786f4..07f6762e6a7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2017-06-07 Richard Biener + + PR tree-optimization/80928 + * gcc.dg/vect/slp-perm-8.c: Avoid vectorizing loop computing + check_results. + 2017-06-06 Nathan Sidwell * g++.dg/pr45330.C: Add inline namespace case. diff --git a/gcc/testsuite/gcc.dg/vect/slp-perm-8.c b/gcc/testsuite/gcc.dg/vect/slp-perm-8.c index d5fa1e8023f..4cd259d5de6 100644 --- a/gcc/testsuite/gcc.dg/vect/slp-perm-8.c +++ b/gcc/testsuite/gcc.dg/vect/slp-perm-8.c @@ -41,6 +41,7 @@ int main (int argc, const char* argv[]) check_results[3*i] = 9 * i + 6; check_results[3*i+1] = 9 * i + 15; check_results[3*i+2] = 9 * i + 4; + __asm__ volatile ("" : : : "memory"); } foo (input, output); -- 2.30.2