2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20020916-1.c
blob3f2db15d019573a04530cc8c6a372eed4529ec7e
1 /* Distilled from try_pre_increment in flow.c. If-conversion inserted
2 new instructions at the wrong place on ppc. */
4 int foo(int a)
6 int x;
7 x = 0;
8 if (a > 0) x = 1;
9 if (a < 0) x = 1;
10 return x;
13 int main()
15 if (foo(1) != 1)
16 abort();
17 return 0;