Debian Codegraph @

gcc/testsuite/gcc.dg/ipa/pr51362.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O -fipa-cp -fipa-cp-clone" } */
3
4 int
5 baz (void)
6 {
7 return 0;
8 }
9
10 int make_mess;
11
12 __attribute__ ((noinline))
13 int bar (int x, int (*f) (void))
14 {
15 return f ();
16 }
17
18 int
19 foo (void)
20 {
21 return bar (1, baz);
22 }