1/* This testcase failed on Alpha at -O2 when simplifying conditional 2 expressions. */ 3 4int foo (void); 5 6struct A 7{ 8 int a, b, c, d; 9}; 10 11void bar (struct A *x) 12{ 13 int e, f; 14 15 e = foo (); 16 e = e / x->b; 17 if (e < 1) 18 e = 1; 19 f = (x->a + x->c) / e; 20 if (f < x->d) 21 x->d -= (1 << 16) / 8; 22} 23