Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr21380.c
blob55ac08e780050955d94ef8bba180db4a0b147d51
1 void bar (void);
3 void
4 foo (int *diff)
6 double deltay = 0.0;
7 int Stangent = 0;
8 int mindiff;
9 int Sflipped = 0;
10 int i;
11 int Sturn, Snofit;
13 Sturn = 1;
14 if (Sturn)
15 Stangent = 1;
16 if (Sturn)
18 Sflipped = 0;
19 Snofit = 1;
20 while (Snofit)
22 Snofit = 0;
23 mindiff = 0;
24 for (i = 0; i < 4; i++)
25 mindiff = diff[i];
26 while (!Snofit && (mindiff < 0.0))
28 deltay = (Stangent ? deltay : 0.0);
29 if (deltay < 0.0)
30 Snofit = 1;
31 for (i = 0; i < 4; i++)
35 if (Snofit)
36 if (Sflipped)
37 break;
39 if (Snofit)
40 bar ();