projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
- More restructureation:
[libfirm]
/
ir
/
be
/
test
/
pad_return.c
1
int A;
2
3
int test(int a) {
4
if (a == 23)
5
goto end;
6
while (A != 0) {
7
A = A * a;
8
}
9
end:
10
/* return should be padded by using ret $0 */
11
return a;
12
}
13
14
int main(int argc, char *argv[]) {
15
return 23 != test(23);
16
}