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
/
vla.c
1
/* stabs debug info has problems with VLAs */
2
3
#include <stdlib.h>
4
5
void f(int x)
6
{
7
int a[x];
8
int i;
9
for (i = 0; i < x; ++i) {
10
a[i] = rand();
11
}
12
}
13
14
15
int main(void)
16
{
17
srand(23);
18
f(rand() & 31);
19
return 0;
20
}