Debian Codegraph @

gcc/testsuite/gcc.c-torture/execute/pr97421-2.c

raw
1 /* PR rtl-optimization/97421 */
2 /* { dg-additional-options "-fmodulo-sched -fno-dce -fno-strict-aliasing" } */
3
4 static int a, b, c;
5 int *d = &c;
6 int **e = &d;
7 int ***f = &e;
8 int main()
9 {
10 int h;
11 for (a = 2; a; a--)
12 for (h = 0; h <= 2; h++)
13 for (b = 0; b <= 2; b++)
14 ***f = 6;
15
16 if (b != 3)
17 __builtin_abort();
18 }