projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0107879
)
- C99 feature removed
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 9 Mar 2009 14:54:35 +0000
(14:54 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Mon, 9 Mar 2009 14:54:35 +0000
(14:54 +0000)
[r25646]
ir/opt/scalar_replace.c
patch
|
blob
|
history
diff --git
a/ir/opt/scalar_replace.c
b/ir/opt/scalar_replace.c
index
276baf3
..
4056172
100644
(file)
--- a/
ir/opt/scalar_replace.c
+++ b/
ir/opt/scalar_replace.c
@@
-211,13
+211,14
@@
int is_address_taken(ir_node *sel)
break;
case iro_Sel: {
break;
case iro_Sel: {
- ir_entity* entity = get_Sel_entity(succ);
+ int res;
+ ir_entity *entity = get_Sel_entity(succ);
/* we can't handle unions correctly yet -> address taken */
if (is_Union_type(get_entity_owner(entity)))
return 1;
/* Check the Sel successor of Sel */
/* we can't handle unions correctly yet -> address taken */
if (is_Union_type(get_entity_owner(entity)))
return 1;
/* Check the Sel successor of Sel */
-
int
res = is_address_taken(succ);
+ res = is_address_taken(succ);
if (res)
return 1;
break;
if (res)
return 1;
break;