repo.or.cz
/
smatch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
avoid warning on explicit 'bool <- restricted' casts
[smatch.git]
/
validation
/
kill-cse.c
blob
2e2b102462284c768b05fac68351ccbf633b7dd8
1
int
foo
(
int
a
)
2
{
3
return
((
a
==
0
) +
1
) != ((
a
==
0
) +
1
);
4
}
5
6
/*
7
* check-name: kill-cse
8
* check-description:
9
* Verify that instructions removed at CSE are
10
* properly adjust the usage of their operands.
11
* check-command: test-linearize -Wno-decl $file
12
*
13
* check-output-start
14
foo:
15
.L0:
16
<entry-point>
17
ret.32 $0
18
19
20
* check-output-end
21
*/