re PR tree-optimization/80928 (SLP vectorization does not handle induction in outer...
authorRichard Biener <rguenther@suse.de>
Wed, 7 Jun 2017 09:10:17 +0000 (09:10 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 7 Jun 2017 09:10:17 +0000 (09:10 +0000)
2017-06-07  Richard Biener  <rguenther@suse.de>

PR tree-optimization/80928
* gcc.dg/vect/slp-perm-8.c: Avoid vectorizing loop computing
check_results.

From-SVN: r248948

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/slp-perm-8.c

index bd12c4786f40cfabaf24ed7ff59b26992134e024..07f6762e6a78506949ca6de19eaa68941b812593 100644 (file)
@@ -1,3 +1,9 @@
+2017-06-07  Richard Biener  <rguenther@suse.de>
+
+       PR tree-optimization/80928
+       * gcc.dg/vect/slp-perm-8.c: Avoid vectorizing loop computing
+       check_results.
+
 2017-06-06  Nathan Sidwell  <nathan@acm.org>
 
        * g++.dg/pr45330.C: Add inline namespace case.
index d5fa1e8023f00d5af71218094f209c9470dfcfe2..4cd259d5de689feafa82db75ae21429acb1f4ed5 100644 (file)
@@ -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);