PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr56903.c
blob9e6a1c3916d7199d5b8041cfebe988cb70aac1e3
1 /* PR rtl-optimization/56903 */
2 /* { dg-do compile } */
3 /* { dg-options "-Os" } */
4 /* { dg-additional-options "-march=pentium3" { target ia32 } } */
6 int a, *b, c;
7 struct S { int s : 1; } *fn1 (void);
8 extern int fn3 (void), fn4 (int *);
10 void
11 fn2 (void)
13 int e = fn3 ();
14 char f = c + fn1 ()->s * 4;
15 if (*b && f == e)
16 a = *b;
17 fn4 (b);