From: Richard Kenner Date: Mon, 26 Apr 1993 22:47:48 +0000 (-0400) Subject: (pushdecl): Don't make a copy of type of error_mark_node. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=32831d4b7254c4a17f47f1a2d43dcadf07941d02;p=gcc.git (pushdecl): Don't make a copy of type of error_mark_node. From-SVN: r4238 --- 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);