Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr101173.c

raw
1 /* { dg-do run } */
2 /* { dg-additional-options "-floop-interchange" } */
3
4 int a[6][9];
5 int main()
6 {
7 a[1][3] = 8;
8 for (int b = 1; b <= 5; b++)
9 for (int d = 0; d <= 5; d++)
10 #pragma GCC unroll 0
11 for (int c = 0; c <= 5; c++)
12 a[b][c] = a[b][c + 2] & 216;
13 for (int e = 0; e < 6; e++)
14 for (int f = 0; f < 9; f++)
15 if (a[e][f] != 0)
16 __builtin_abort ();
17 return 0;
18 }