projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Example for optimizing non-strict programs using combo.
[libfirm]
/
ir
/
be
/
test
/
vla.c
diff --git
a/ir/be/test/vla.c
b/ir/be/test/vla.c
index
dcb762c
..
5c30c97
100644
(file)
--- a/
ir/be/test/vla.c
+++ b/
ir/be/test/vla.c
@@
-5,7
+5,8
@@
void f(int x)
{
int a[x];
- for (int i = 0; i < x; ++i) {
+ int i;
+ for (i = 0; i < x; ++i) {
a[i] = rand();
}
}