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
/
fehler082.c
1
/*$ -fno-inline -bra-chordal-co-algo=heur4 -blistsched-select=heur */
2
3
/* demonstrates copyheur4 violating register constraints of FucomFnstsw */
4
#include <stdio.h>
5
6
void f(float g, float g2) {
7
if(g < 1.23) {
8
if(g2 < 20)
9
printf("good");
10
} else {
11
if(g2 < 20)
12
printf("bad");
13
}
14
}
15
16
int main(void)
17
{
18
f(0.5, 10);
19
return 0;
20
}