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: Bug in egcs?


>>>>> Marius Kjeldahl <marius@ace.funcom.com> writes:

> test.cpp:13: sorry, not implemented: `try_catch_expr' not supported by
> dump_expr

Does this fix the problem?

Mon Dec 15 12:22:04 1997  Jason Merrill  <jason@yorick.cygnus.com>

	* error.c (dump_expr): Handle TRY_CATCH_EXPR.

Index: error.c
===================================================================
RCS file: /cvs/cvsfiles/egcs/gcc/cp/error.c,v
retrieving revision 1.15
diff -c -r1.15 error.c
*** error.c	1997/12/08 00:33:00	1.15
--- error.c	1997/12/15 23:04:56
***************
*** 1534,1539 ****
--- 1534,1544 ----
        OB_PUTS ("{unparsed}");
        break;
  
+     case TRY_CATCH_EXPR:
+     case WITH_CLEANUP_EXPR:
+       dump_expr (TREE_OPERAND (t, 0), nop);
+       break;
+ 
      case TREE_LIST:
        if (TREE_VALUE (t) && TREE_CODE (TREE_VALUE (t)) == FUNCTION_DECL)
  	{


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