OSDN Git Service

* gcc.c-torture/compile/20080625-1.c: Skip for M32C.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.c-torture / compile / pr12517.c
1 /*  PR tree-optimization/12517  */
2
3 int f(void);
4 void g(int);
5 void h(int a, int b, int c)
6 {
7     int i = f();
8
9     if (b && (i & 4))
10         g(i & 8 ? 0 : 1);
11     if (a) {
12         do {
13             if (i & 8)
14                 g(0);
15             if (i & 4)
16                 g(i ? 0 : 1);
17         } while (--c);
18     }
19 }