From 8c6c7b4c71a498cc6552cf84cab270a23b1a0701 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Wed, 6 Oct 1993 17:21:20 +0000 Subject: [PATCH] (build_c_cast): When making a CONSTRUCTOR, provide the dummy first operand. From-SVN: r5637 --- gcc/c-typeck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/c-typeck.c b/gcc/c-typeck.c index 489f606c50f..05a4e02614b 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); } -- 2.30.2