aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-10-06 17:21:20 +0000
committerRichard Stallman <rms@gnu.org>1993-10-06 17:21:20 +0000
commit8c6c7b4c71a498cc6552cf84cab270a23b1a0701 (patch)
tree0c35f8417b3465969775d186ca43534ab38b593c /gcc
parent312f03181a60aa96dd8b7a8f6a48fccb3ac4a09a (diff)
downloadgcc-8c6c7b4c71a498cc6552cf84cab270a23b1a0701.zip
gcc-8c6c7b4c71a498cc6552cf84cab270a23b1a0701.tar.gz
gcc-8c6c7b4c71a498cc6552cf84cab270a23b1a0701.tar.bz2
(build_c_cast): When making a CONSTRUCTOR, provide the dummy first operand.
From-SVN: r5637
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-typeck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c
index 489f606..05a4e02 100644
--- a/gcc/c-typeck.c
+++ b/gcc/c-typeck.c
@@ -3472,7 +3472,7 @@ build_c_cast (type, expr)
}
else
name = "";
- return digest_init (type, build (CONSTRUCTOR, type,
+ return digest_init (type, build (CONSTRUCTOR, type, NULL_TREE,
build_tree_list (field, value)),
0, 0);
}