C++ PATCH for tree dumper

Mark Mitchell mark@codesourcery.com
Thu Jan 13 21:17:00 GMT 2000


This patch causes us to dump DECL_PSEUDO_FRIEND_TEMPLATE_INSTANTIATION, 
which I needed when looking at dumps a few days back.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com

2000-01-13  Mark Mitchell  <mark@codesourcery.com>

	* dump.c (dqeueue_and_dump): Dump
	DECL_FRIEND_PSEUDO_TEMPLATE_INSTANTIATION.

Index: cp/dump.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/cp/dump.c,v
retrieving revision 1.30
diff -c -p -r1.30 dump.c
*** dump.c	1999/12/22 18:00:58	1.30
--- dump.c	2000/01/14 05:09:19
***************
*** 1,5 ****
  /* Tree-dumping functionality for intermediate representation.
!    Copyright (C) 1999 Free Software Foundation, Inc.
     Written by Mark Mitchell <mark@codesourcery.com>
  
  This file is part of GNU CC.
--- 1,5 ----
  /* Tree-dumping functionality for intermediate representation.
!    Copyright (C) 1999, 2000 Free Software Foundation, Inc.
     Written by Mark Mitchell <mark@codesourcery.com>
  
  This file is part of GNU CC.
*************** dequeue_and_dump (di)
*** 585,590 ****
--- 585,592 ----
  		dump_string (di, "global fini");
  	      dump_int (di, "prio", GLOBAL_INIT_PRIORITY (t));
  	    }
+ 	  if (DECL_FRIEND_PSEUDO_TEMPLATE_INSTANTIATION (t))
+ 	    dump_string (di, "pseudo tmpl");
  
  	  dump_child ("body", DECL_SAVED_TREE (t));
  	}


More information about the Gcc-patches mailing list