This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Missing output when printing PARM_DECLs
- To: gcc-patches at gcc dot gnu dot org
- Subject: Missing output when printing PARM_DECLs
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Date: Tue, 6 Feb 01 08:15:19 EST
Tue Feb 6 07:54:51 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* print-tree.c (print_node, case PARM_DECL):
Print DECL_ARG_TYPE and DECL_ARG_TYPE_AS_WRITTEN.
*** print-tree.c 2000/12/17 23:47:48 1.38
--- print-tree.c 2001/02/06 13:08:21
*************** print_node (file, prefix, node, indent)
*** 448,456 ****
}
! if (TREE_CODE (node) == PARM_DECL && 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
--- 448,463 ----
}
! if (TREE_CODE (node) == PARM_DECL)
{
! 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