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]
Other format: [Raw text]

[C++ patch] Fix PR 16583


Hi,
this is the obvious fix for 16583.

built on i686-pc-linux-gnu, installed.

nathan
--
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

2004-07-16  Nathan Sidwell  <nathan@codesourcery.com>

	PR c++/16583
	* dump.c (cp_dump_tree): Don't dump the bases if there's no
	binfo.

Index: cp/dump.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/dump.c,v
retrieving revision 1.78
diff -c -3 -p -r1.78 dump.c
*** cp/dump.c	7 Jul 2004 10:20:32 -0000	1.78
--- cp/dump.c	16 Jul 2004 08:21:16 -0000
*************** cp_dump_tree (void* dump_info, tree t)
*** 264,270 ****
        if (CLASSTYPE_TEMPLATE_SPECIALIZATION(t))
          dump_string(di, "spec");
  
!       if (!dump_flag (di, TDF_SLIM, t))
  	{
  	  int i;
  	  
--- 264,270 ----
        if (CLASSTYPE_TEMPLATE_SPECIALIZATION(t))
          dump_string(di, "spec");
  
!       if (!dump_flag (di, TDF_SLIM, t) && TYPE_BINFO (t))
  	{
  	  int i;
  	  

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