This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bug in egcs?
- To: egcs at cygnus dot com, egcs-bugs at cygnus dot com
- Subject: Re: Bug in egcs?
- From: Jason Merrill <jason at cygnus dot com>
- Date: 15 Dec 1997 15:06:02 -0800
- References: <52lnxmz6px.fsf.cygnus.egcs@ace.funcom.com>
- Reply-To: egcs at cygnus dot com
>>>>> 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)
{