Commit 8ee15cd7 by Per Bothner

Changes to distinguish typedef from original type in debug output.

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

From-SVN: r11215
parent 09e1d007
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment