Debian Codegraph @

gcc/testsuite/gcc.dg/torture/pr77768.c

raw
1 /* { dg-do run } */
2
3 static const int a;
4 int b;
5 int *c, *d;
6 int main()
7 {
8 c = (int *)&a;
9 c == d ?: __builtin_exit(0);
10 for (; b; b++ >= (*d = a))
11 ;
12 return 0;
13 }