Debian Codegraph @

gcc/testsuite/gcc.dg/tree-prof/pr111559.c

raw
1 /* { dg-options "-O2" } */
2
3 __attribute__((noipa)) static void edge(void) {}
4
5 int p = 0;
6
7 __attribute__((noinline))
8 static void rule1(void) { if (p) edge(); }
9
10 __attribute__((noinline))
11 static void rule1_same(void) { if (p) edge(); }
12
13 __attribute__((noipa)) int main(void) {
14 rule1();
15 rule1_same();
16 }