projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09e1d00
)
Changes to distinguish typedef from original type in debug output.
author
Per Bothner
<bothner@gcc.gnu.org>
Mon, 12 Feb 1996 20:03:24 +0000
(12:03 -0800)
committer
Per Bothner
<bothner@gcc.gnu.org>
Mon, 12 Feb 1996 20:03:24 +0000
(12:03 -0800)
* c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE for typedef origin.
From-SVN: r11215
gcc/c-decl.c
patch
|
blob
|
history
diff --git
a/gcc/c-decl.c
b/gcc/c-decl.c
index 3483e321fe59e9c05d22cc56d6dad1d107e6763c..d7ca9d02c8d84a0e7fd098b911a3d9974a55f5c8 100644
(file)
--- 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;