The trivial one at least.  Committed.

Richard.

2017-06-07  Richard Biener  <rguent...@suse.de>

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

Index: gcc/testsuite/gcc.dg/vect/slp-perm-8.c
===================================================================
--- gcc/testsuite/gcc.dg/vect/slp-perm-8.c      (revision 248919)
+++ gcc/testsuite/gcc.dg/vect/slp-perm-8.c      (working copy)
@@ -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);

Reply via email to