fixed compilation problems in bc_expand_decl_init

From-SVN: r5396
This commit is contained in:
Jan Brittenson 1993-09-22 10:54:20 -07:00
parent 163d999617
commit e81d77b502

View File

@ -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)