repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr21380.c
blob
55ac08e780050955d94ef8bba180db4a0b147d51
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
}