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
/
920730-1.c
blob
576e7a6e8bbee6dbf9e1b70b24f407c0758d4980
1
/* 920730-1.c */
2
#include <limits.h>
3
f1
()
4
{
5
int
b
=
INT_MIN
;
6
return
b
>=
INT_MIN
;
7
}
8
9
f2
()
10
{
11
int
b
=
INT_MIN
+
1
;
12
return
b
>= (
unsigned
)(
INT_MAX
+
2
);
13
}
14
15
f3
()
16
{
17
int
b
=
INT_MAX
;
18
return
b
>=
INT_MAX
;
19
}
20
21
f4
()
22
{
23
int
b
=-
1
;
24
return
b
>=
UINT_MAX
;
25
}
26
27
main
()
28
{
29
if
((
f1
()&
f2
()&
f3
()&
f4
())!=
1
)
30
abort
();
31
exit
(
0
);
32
}