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
* gcc.c-torture/compile/20000120-2.c: Use -fgnu89-inline.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
pr58946.c
blob
0ec5eba16f0cd52ddd5c48f63c684db717be2d99
1
/* PR tree-optimization/58946 */
2
3
int
4
foo
(
unsigned int
c
)
5
{
6
unsigned int
d
,
e
,
f
;
7
if
((
int
)
c
<
0
)
8
d
=
0
;
9
else
10
d
=
c
;
11
if
(
d
==
0
)
12
e
=
__INT_MAX__
+
1U
;
13
else
14
e
=
d
;
15
if
((
int
)
e
<
0
)
16
f
=
0
;
17
else
18
f
=
e
;
19
return
f
;
20
}