From: Per Bothner Date: Mon, 12 Feb 1996 20:03:24 +0000 (-0800) Subject: Changes to distinguish typedef from original type in debug output. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8ee15cd7f5039a5cf201956efa40f4e55d869648;p=gcc.git Changes to distinguish typedef from original type in debug output. * c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE for typedef origin. From-SVN: r11215 --- diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 3483e321fe5..d7ca9d02c8d 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -2052,7 +2052,7 @@ pushdecl (x) else if (TREE_TYPE (x) != error_mark_node) { tree tt = TREE_TYPE (x); - + DECL_ORIGINAL_TYPE (x) = tt; tt = build_type_copy (tt); TYPE_NAME (tt) = x; TREE_TYPE (x) = tt;