projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
generate real fprem node
[libfirm]
/
ir
/
be
/
test
/
compilerhang4.c
1
#include <stdio.h>
2
3
char* blup()
4
{
5
char* p = "all ok";
6
7
if(0) {
8
int i = 0;
9
do {
10
*--p = '0' - i % 10;
11
} while((i /= 10) != 0);
12
13
*--p = '-';
14
}
15
16
return p;
17
}
18
19
int main() {
20
printf("result: %s\n", blup());
21
return 0;
22
}