Changes to distinguish typedef from original type in debug output.

* c-decl.c (pushdecl):  Set DECL_ORIGINAL_TYPE for typedef origin.

From-SVN: r11215
This commit is contained in:
Per Bothner 1996-02-12 12:03:24 -08:00
parent 09e1d007f1
commit 8ee15cd7f5

View File

@ -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;