1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
/* { dg-do compile } */ /* { dg-additional-options "-fno-tree-vrp -fno-tree-forwprop" } */ int a, b, c, d; unsigned e; static void f(void) { unsigned h; for (d = 0; d < 2; d++) b |= e; h = b; c |= h; } int main() { for (; a; a++) f(); return 0; }