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


long long foo (long long *__restrict a,  int *__restrict b, int *__restrict c )
{
  int i;
  long long sum=0;
  for (i=0;i<256;i++)
   sum += (long long)b[i] * c[i];

  return sum;
}

/* { dg-final { cleanup-tree-dump "vect" } } */