summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr40542.c
blob: 0a827724dc8fdedd73c479fe9f354281bd3c1cef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */

void
volarr_cpy(char *d, volatile char *s)
{
  int i;
  
  for (i = 0; i < 16; i++)
    d[i] = s[i];
}

/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */