projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4567d92
)
disable load from static const optimisation for new-style initializers (until we...
author
Matthias Braun
<matze@braunis.de>
Tue, 12 Aug 2008 11:28:40 +0000
(11:28 +0000)
committer
Matthias Braun
<matze@braunis.de>
Tue, 12 Aug 2008 11:28:40 +0000
(11:28 +0000)
[r21118]
ir/opt/ldstopt.c
patch
|
blob
|
history
diff --git
a/ir/opt/ldstopt.c
b/ir/opt/ldstopt.c
index
dcfc739
..
b67bafe
100644
(file)
--- a/
ir/opt/ldstopt.c
+++ b/
ir/opt/ldstopt.c
@@
-782,7
+782,7
@@
static unsigned optimize_load(ir_node *load)
} else {
compound_graph_path *path = get_accessed_path(ptr);
- if (path) {
+ if (path
&& !ent->has_initializer
) {
ir_node *c;
assert(is_proper_compound_graph_path(path, get_compound_graph_path_length(path)-1));