This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Missing output when printing PARM_DECLs


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]