Debian Codegraph @

gcc/testsuite/gcc.dg/debug/pr80321.c

raw
1 /* PR debug/80321 */
2 /* { dg-do compile } */
3 /* { dg-options "-fkeep-inline-functions" } */
4
5 void bar (void);
6
7 static inline void
8 test (int x)
9 {
10 inline void
11 foo (int x)
12 {
13 test (0);
14 asm volatile ("" : : : "memory");
15 }
16 if (x != 0)
17 foo (x);
18 else
19 bar ();
20 }
21
22 void
23 baz (int x)
24 {
25 test (x);
26 }