repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix unused warnings.
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
200031109-1.c
blob
d1d495bac1860051f1ce19ea274687626537552d
1
/* For a short time on the tree-ssa branch this would warn that
2
value was not initialized as it was optimizing !(value = (m?1:2))
3
to 0 and not setting value before. */
4
5
int
t
(
int
m
)
6
{
7
int
value
;
8
if
(!(
value
= (
m
?
1
:
2
)))
9
value
=
0
;
10
return
value
;
11
}