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" } } */