aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brittenson <bson@gnu.org>1993-09-22 10:54:20 -0700
committerJan Brittenson <bson@gnu.org>1993-09-22 10:54:20 -0700
commite81d77b5026906c6b6014b9607b7f472108bba9c (patch)
treed81f00c571950ca521c51a5412444b7c6805828b
parent163d9996179cb12fb53a3f0d6f2a9447ea1c4303 (diff)
downloadgcc-e81d77b5026906c6b6014b9607b7f472108bba9c.zip
gcc-e81d77b5026906c6b6014b9607b7f472108bba9c.tar.gz
gcc-e81d77b5026906c6b6014b9607b7f472108bba9c.tar.bz2
fixed compilation problems in bc_expand_decl_init
From-SVN: r5396
-rw-r--r--gcc/stmt.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/stmt.c b/gcc/stmt.c
index 2b9ff91..8c69b15 100644
--- a/gcc/stmt.c
+++ b/gcc/stmt.c
@@ -3692,11 +3692,10 @@ bc_expand_decl_init (decl)
if (code == INTEGER_TYPE || code == REAL_TYPE || code == ENUMERAL_TYPE
|| code == POINTER_TYPE)
- expand_assignment (TREE_TYPE (decl), decl,
- convert (TREE_TYPE (decl), integer_zero_node));
+ expand_assignment (TREE_TYPE (decl), decl, 0, 0);
}
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 */
if (org_stack_depth > stack_depth)