1/* PR rtl-optimization/56903 */
2/* { dg-do compile } */
3/* { dg-options "-Os" } */
4/* { dg-additional-options "-march=pentium3" { target ia32 } } */
5
6int a, *b, c;
7struct S { int s : 1; } *fn1 (void);
8extern int fn3 (void), fn4 (int *);
9
10void
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