Debian Codegraph @

gcc/testsuite/gcc.c-torture/execute/pr60072.c

raw
1 /* PR target/60072 */
2
3 int c = 1;
4
5 __attribute__ ((optimize (1)))
6 static int *foo (int *p)
7 {
8 return p;
9 }
10
11 int
12 main ()
13 {
14 *foo (&c) = 2;
15 return c - 2;
16 }