1/* PR rtl-optimization/61801 */ 2/* { dg-do compile } */ 3/* { dg-options "-Os -fcompare-debug" } */ 4 5int a, c; 6int bar (void); 7void baz (void); 8 9void 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