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)
* tree.h (DECL_ORIGINAL_TYPE):  New macro.

From-SVN: r11216

gcc/tree.h

index 453c230..504416e 100644 (file)
@@ -898,6 +898,8 @@ struct tree_type
 #define DECL_ARGUMENTS(NODE) ((NODE)->decl.arguments)
 /* In FUNCTION_DECL, holds the decl for the return value.  */
 #define DECL_RESULT(NODE) ((NODE)->decl.result)
+/* For a TYPE_DECL, holds the "original" type.  (TREE_TYPE has the copy.) */
+#define DECL_ORIGINAL_TYPE(NODE) ((NODE)->decl.result)
 /* In PARM_DECL, holds the type as written (perhaps a function or array).  */
 #define DECL_ARG_TYPE_AS_WRITTEN(NODE) ((NODE)->decl.result)
 /* For a FUNCTION_DECL, holds the tree of BINDINGs.