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
/
nulladd.c
diff --git
a/ir/be/test/nulladd.c
b/ir/be/test/nulladd.c
index
624c3c7
..
5f4deda
100644
(file)
--- a/
ir/be/test/nulladd.c
+++ b/
ir/be/test/nulladd.c
@@
-1,8
+1,8
@@
#include <stdlib.h>
#include <stdio.h>
-static
const int *
a = (int *)0x10;
-static
const int *
b = (int *)0x20;
+static
int * const
a = (int *)0x10;
+static
int * const
b = (int *)0x20;
int main() {
printf("%p\n", b - a);