1 /* PR rtl-optimization/61801 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-Os -fcompare-debug" } */ 4 5 int a, c; 6 int bar (void); 7 void baz (void); 8 9 void foo(void)10foo (void) 11 { 12 int d; 13 if (bar ()) 14 { 15 int e; 16 baz (); 17 asm volatile ("" : "=a" (e) : "0" (a), "i" (0)); 18 d = e; 19 } 20 c = d; 21 } 22