Bug in egcs?
Jason Merrill
jason@cygnus.com
Mon Dec 15 15:06:00 GMT 1997
>>>>> 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)
{
More information about the Gcc-bugs
mailing list