Debian Codegraph @

gcc/testsuite/gcc.dg/ivdep.c

raw
1 /* { dg-do compile } */
2
3 /* PR other/33426 */
4
5 void foo(int n, int *a, int *b, int *c, int *d, int *e) {
6 int i, j;
7 #pragma GCC ivdep
8 for (i = 0; ; ++i) { /* { dg-error "missing loop condition in loop with 'GCC ivdep' pragma before ';' token" } */
9 a[i] = b[i] + c[i];
10 }
11 }