]> gcc.gnu.org Git - gcc.git/commitdiff
Changes to distinguish typedef from original type in debug output.
authorPer Bothner <bothner@gcc.gnu.org>
Mon, 12 Feb 1996 20:03:24 +0000 (12:03 -0800)
committerPer 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

index 3483e321fe59e9c05d22cc56d6dad1d107e6763c..d7ca9d02c8d84a0e7fd098b911a3d9974a55f5c8 100644 (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;
This page took 0.076772 seconds and 5 git commands to generate.