Commit e81d77b5 by Jan Brittenson

fixed compilation problems in bc_expand_decl_init

From-SVN: r5396
parent 163d9996
...@@ -3692,11 +3692,10 @@ bc_expand_decl_init (decl) ...@@ -3692,11 +3692,10 @@ bc_expand_decl_init (decl)
if (code == INTEGER_TYPE || code == REAL_TYPE || code == ENUMERAL_TYPE if (code == INTEGER_TYPE || code == REAL_TYPE || code == ENUMERAL_TYPE
|| code == POINTER_TYPE) || code == POINTER_TYPE)
expand_assignment (TREE_TYPE (decl), decl, expand_assignment (TREE_TYPE (decl), decl, 0, 0);
convert (TREE_TYPE (decl), integer_zero_node));
} }
else if (DECL_INITIAL (decl)) else if (DECL_INITIAL (decl))
expand_assignment (TREE_TYPE (decl), decl, DECL_INITIAL (decl)); expand_assignment (TREE_TYPE (decl), decl, 0, 0);
/* Restore stack depth */ /* Restore stack depth */
if (org_stack_depth > stack_depth) if (org_stack_depth > stack_depth)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment