This is the mail archive of the gcc-bugs@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]

Re: Patch for better diagnostic (was: Re: Bug in MI?)


On , 6 March 1998, 20:12:37, jason@cygnus.com wrote:

 > >>>>> Manfred Hollstein <manfred@s-direktnet.de> writes:
 > 
 > >       if (u == error_mark_node)
 > > 	error ("  since the following virtual functions are not finally overridden:");
 > >       else
 > > 	error ("  since the following virtual functions are abstract:");
 > >       TREE_PURPOSE (u) = error_mark_node;
 > >       while (u)
 > > 	{
 > > 	  cp_error ("\t%#D", TREE_VALUE (u));
 > > 	  u = TREE_CHAIN (u);
 > > 	}
 > 
 > That can't be right; you can't treat error_mark_node like a TREE_LIST.

Perhaps, you're wright. But that treatment isn't new due to my patch. I only
added the the different error message, the while loop was already there.

manfred


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