re PR rtl-optimization/20412 (RTL checking failure in the combiner)
[gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr20412.c
1 int
2 foo(void)
3 {
4 int a,b,g;
5 int i,len;
6 int stop;
7
8 len = 10;
9 stop = 0;
10 for (i=0; i<len; i++)
11 {
12 a = bar1() ? 0 : 1;
13 b = bar2() ? 0 : 1;
14 g = bar3() ? 0 : 1;
15
16 if (stop = ((a+b) % 2 != g)) break;
17 }
18
19 return stop;
20 }