1 /* PR rtl-optimization/56903 */ 2 /* { dg-do compile } */ 3 /* { dg-options "-Os" } */ 4 /* { dg-additional-options "-march=pentium3" { target ia32 } } */ 5 6 int a, *b, c; 7 struct S { int s : 1; } *fn1 (void); 8 extern int fn3 (void), fn4 (int *); 9 10 void fn2(void)11fn2 (void) 12 { 13 int e = fn3 (); 14 char f = c + fn1 ()->s * 4; 15 if (*b && f == e) 16 a = *b; 17 fn4 (b); 18 } 19