1 /* PR debug/80321 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-fkeep-inline-functions" } */ 4 5 void bar (void); 6 7 static inline void test(int x)8test (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 baz(int x)23baz (int x) 24 { 25 test (x); 26 } 27