diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-02-06 13:12:56 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 2001-02-06 13:12:56 +0000 |
commit | a2ef939124b849aa5446f3adfcb60e3dfae5d16d (patch) | |
tree | ef8e147731dc83c431ba068741618712e2aa3a50 /gcc/print-tree.c | |
parent | f198693162621b42670ecfe3377179bcd99209f7 (diff) | |
download | gcc-a2ef939124b849aa5446f3adfcb60e3dfae5d16d.tar.gz |
* print-tree.c (print_node, case PARM_DECL):
Print DECL_ARG_TYPE and DECL_ARG_TYPE_AS_WRITTEN.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39492 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/print-tree.c')
-rw-r--r-- | gcc/print-tree.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/gcc/print-tree.c b/gcc/print-tree.c index 662521563d6..a3674468f4f 100644 --- a/gcc/print-tree.c +++ b/gcc/print-tree.c @@ -447,11 +447,18 @@ print_node (file, prefix, node, indent) print_rtl (file, DECL_RTL (node)); } - if (TREE_CODE (node) == PARM_DECL && DECL_INCOMING_RTL (node) != 0) + if (TREE_CODE (node) == PARM_DECL) { - indent_to (file, indent + 4); - fprintf (file, "incoming-rtl "); - print_rtl (file, DECL_INCOMING_RTL (node)); + print_node (file, "arg-type", DECL_ARG_TYPE (node), indent + 4); + print_node (file, "arg-type-as-written", + DECL_ARG_TYPE_AS_WRITTEN (node), indent + 4); + + if (DECL_INCOMING_RTL (node) != 0) + { + indent_to (file, indent + 4); + fprintf (file, "incoming-rtl "); + print_rtl (file, DECL_INCOMING_RTL (node)); + } } else if (TREE_CODE (node) == FUNCTION_DECL && DECL_SAVED_INSNS (node) != 0) |