PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr61801.c
blobd0d08ccb40135db72ad9346fb7afcbc6f499fc6f
1 /* PR rtl-optimization/61801 */
2 /* { dg-do compile } */
3 /* { dg-options "-Os -fcompare-debug" } */
5 int a, c;
6 int bar (void);
7 void baz (void);
9 void
10 foo (void)
12 int d;
13 if (bar ())
15 int e;
16 baz ();
17 asm volatile ("" : "=a" (e) : "0" (a), "i" (0));
18 d = e;
20 c = d;