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
* Mainline merge as of 2006-02-16 (@111136).
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
930222-1.c
blob
c6d6aa3b47d33aa0c7bac585d4fcc37f49f4a7ab
1
typedef
struct
2
{
3
long
i
;
4
double
f
;
5
}
T
;
6
7
f
(
T
*
n1
,
T
*
n2
)
8
{
9
if
(
g
(
n2
))
10
return
n1
->
i
-
n2
->
i
;
11
else
12
{
13
double
f
=
n1
->
f
-
n2
->
i
;
14
return
f
==
0.0
?
0
: (
f
>
0.0
?
1
: -
1
);
15
}
16
}