(build_c_cast): When making a CONSTRUCTOR, provide the dummy first operand.
authorRichard Stallman <rms@gnu.org>
Wed, 6 Oct 1993 17:21:20 +0000 (17:21 +0000)
committerRichard Stallman <rms@gnu.org>
Wed, 6 Oct 1993 17:21:20 +0000 (17:21 +0000)
From-SVN: r5637

gcc/c-typeck.c

index 489f606c50ff330b92828014fd2687f2520ab797..05a4e02614bbc4167c984347a089dd8eb23c1072 100644 (file)
@@ -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);
        }