Hi!

This PR has been fixed by the PR68701, I've committed
the testcase as obvious to trunk.

2016-01-29  Jakub Jelinek  <ja...@redhat.com>

        PR target/66137
        * gcc.target/i386/pr66137.c: New test.

--- gcc/testsuite/gcc.target/i386/pr66137.c.jj  2016-01-29 15:05:19.804958974 
+0100
+++ gcc/testsuite/gcc.target/i386/pr66137.c     2016-01-29 15:04:53.000000000 
+0100
@@ -0,0 +1,11 @@
+/* PR target/66137 */
+/* { dg-do compile } */
+/* { dg-options "-mavx -O3 -ffixed-ebp" } */
+
+void
+foo (char *x, char *y, char *z, int a)
+{
+  int i;
+  for (i = a; i > 0; i--)
+    *x++ = *y++ = *z++;
+}

        Jakub

Reply via email to