aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/vect/pr79347.c
blob: 6825420ec8d040d597ba1976002d9f8b74ea0d6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile } */
/* { dg-require-effective-target vect_int } */
/* { dg-additional-options "-fdump-tree-vect-all" } */

short *a;
int c;
void n(void)
{
  for (int i = 0; i<c;i++)
    a[i]++;
}

/* { dg-final { scan-tree-dump-not "Invalid sum of " "vect" } } */