projects
/
libfirm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
call optimize_cf() to delete dead-code that might arise after cond_eval
[libfirm]
/
ir
/
be
/
test
/
fehler073.c
1
2
float f(float a, float b) {
3
return a*a + b*b;
4
}
5
6
int fi(int a, int b) {
7
return a*a + b*b;
8
}
9
10
int main(void) {
11
float a = 3;
12
float b = 4;
13
float c = 5;
14
printf("%.30f %.30f %.30f %.30f %.30f\n", a, b, c, f(a, b), c*c);
15
printf("%d\n", fi(3, 4));
16
return 0;
17
}