1 /* { dg-require-stack-check "generic" } */ 2 /* { dg-options "-O -fstack-check=generic -ftree-pre -fgraphite-identity" } */ 3 /* nvptx doesn't expose a stack. */ 4 /* { dg-skip-if "" { nvptx-*-* } } */ 5 main()6int main () 7 { 8 int i, j; 9 int x[8][8]; 10 for (i = 0; i < 8; i++) 11 for (j = i; j < 8; j++) 12 x[i][j] = 4; 13 14 for (i = 0; i < 8; i++) 15 for (j = i; j < 8; j++) 16 if (x[i][j] != 4) 17 __builtin_abort (); 18 19 return 0; 20 } 21