aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1996-02-12 12:03:24 -0800
committerPer Bothner <bothner@gcc.gnu.org>1996-02-12 12:03:24 -0800
commit8ee15cd7f5039a5cf201956efa40f4e55d869648 (patch)
tree805aeeb9ebf1213f2aaf151bb244b9774bf095d0 /gcc
parent09e1d007f18efcb3aeb11e96de8927a4ec50d2f1 (diff)
downloadgcc-8ee15cd7f5039a5cf201956efa40f4e55d869648.zip
gcc-8ee15cd7f5039a5cf201956efa40f4e55d869648.tar.gz
gcc-8ee15cd7f5039a5cf201956efa40f4e55d869648.tar.bz2
Changes to distinguish typedef from original type in debug output.
* c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE for typedef origin. From-SVN: r11215
Diffstat (limited to 'gcc')
-rw-r--r--gcc/c-decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 3483e321..d7ca9d0 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;