OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Backported from mainline
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr21380.c
1
void bar (void);
2
3
void
4
foo (int *diff)
5
{
6
double deltay = 0.0;
7
int Stangent = 0;
8
int mindiff;
9
int Sflipped = 0;
10
int i;
11
int Sturn, Snofit;
12
13
Sturn = 1;
14
if (Sturn)
15
Stangent = 1;
16
if (Sturn)
17
{
18
Sflipped = 0;
19
Snofit = 1;
20
while (Snofit)
21
{
22
Snofit = 0;
23
mindiff = 0;
24
for (i = 0; i < 4; i++)
25
mindiff = diff[i];
26
while (!Snofit && (mindiff < 0.0))
27
{
28
deltay = (Stangent ? deltay : 0.0);
29
if (deltay < 0.0)
30
Snofit = 1;
31
for (i = 0; i < 4; i++)
32
{
33
}
34
}
35
if (Snofit)
36
if (Sflipped)
37
break;
38
}
39
if (Snofit)
40
bar ();
41
}
42
}