repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Sync usage with man page.
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20040831-1.c
blob
39773b34ba3092fd0131d5db05dbf81a85664917
1
/* This testcase was being miscompiled, because operand_equal_p
2
returned that (unsigned long) d and (long) d are equal. */
3
extern
void
abort
(
void
);
4
extern
void
exit
(
int
);
5
6
int
7
main
(
void
)
8
{
9
double
d
= -
12.0
;
10
long
l
= (
d
>
10000
) ? (
unsigned long
)
d
: (
long
)
d
;
11
if
(
l
!= -
12
)
12
abort
();
13
exit
(
0
);
14
}