From 32831d4b7254c4a17f47f1a2d43dcadf07941d02 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 26 Apr 1993 18:47:48 -0400 Subject: [PATCH] (pushdecl): Don't make a copy of type of error_mark_node. From-SVN: r4238 --- gcc/c-decl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 54aa72a63bf..8180ba7ccc4 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -1858,7 +1858,7 @@ pushdecl (x) if (TYPE_NAME (TREE_TYPE (x)) == 0) TYPE_NAME (TREE_TYPE (x)) = x; } - else + else if (TREE_TYPE (x) != error_mark_node) { tree tt = TREE_TYPE (x); -- 2.30.2