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
simplify '(x / -1)' to '-x' (but only for signed division)
[smatch.git]
/
validation
/
kill-computedgoto.c
blob
3b3ed8ff26cf622de154ea1f1055b76cf4077847
1
void
foo
(
int
a
);
2
void
foo
(
int
a
)
3
{
4
void
*
l
= &&
end
+
3
;
5
6
end
:
7
if
(
a
*
0
)
8
goto
*
l
;
9
}
10
11
/*
12
* check-name: kill-computedgoto
13
* check-command: test-linearize $file
14
*
15
* check-output-ignore
16
* check-output-excludes: add\\.
17
*/