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:
parent
09e1d007f1
commit
8ee15cd7f5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user