This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Bug in egcs?
- To: Marius Kjeldahl <marius at ace dot funcom dot com>
- Subject: Re: Bug in egcs?
- From: Jason Merrill <jason at cygnus dot com>
- Date: 16 Dec 1997 10:32:28 -0800
- Cc: egcs-bugs at cygnus dot com, egcs at cygnus dot com
- References: <52lnxmz6px.fsf.cygnus.egcs@ace.funcom.com><u9pvmyyzol.fsf@yorick.cygnus.com> <52u3c9k7lb.fsf@ace.funcom.com>
- Reply-To: egcs-bugs at cygnus dot com
>>>>> Marius Kjeldahl <marius@ace.funcom.com> writes:
>>>>> "Jason" == Jason Merrill <jason@cygnus.com> writes:
>>>>> Marius Kjeldahl <marius@ace.funcom.com> writes:
>>> test.cpp:13: sorry, not implemented: `try_catch_expr' not
>>> supported by dump_expr
Jason> Does this fix the problem?
> [patch removed]
> Nope, it yields another error:
> test.cpp:13: sorry, not implemented: `cleanup_point_expr' not
> supported by dump_expr
Ah.
Tue Dec 16 10:31:20 1997 Jason Merrill <jason@yorick.cygnus.com>
* error.c (dump_expr): And CLEANUP_POINT_EXPR.
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/16 18:31:18
***************
*** 1534,1539 ****
--- 1534,1545 ----
OB_PUTS ("{unparsed}");
break;
+ case TRY_CATCH_EXPR:
+ case WITH_CLEANUP_EXPR:
+ case CLEANUP_POINT_EXPR:
+ dump_expr (TREE_OPERAND (t, 0), nop);
+ break;
+
case TREE_LIST:
if (TREE_VALUE (t) && TREE_CODE (TREE_VALUE (t)) == FUNCTION_DECL)
{