not initializers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@201265
138bc75d-0d04-0410-961f-
82ee72b054a4
+2013-07-26 David Edelsohn <dje.gcc@gmail.com>
+
+ * gcc.target/powerpc/ppc-vector-memcpy.c: Test use of VMX for
+ memcpy not initializers.
+
2013-07-26 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/57101
/* { dg-options "-O -maltivec -mno-vsx" } */
/* { dg-final { scan-assembler "lvx" } } */
+#include <string.h>
+
void foo(void)
{
- int x[8] __attribute__((aligned(128))) = { 1, 1, 1, 1, 1, 1, 1, 1 };
- bar (x);
+ extern int x[8] __attribute__((aligned(128)));
+ int y[8] __attribute__((aligned(128)));
+ memcpy (y, x, sizeof (x));
+ bar (y);
}