This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: More info on exception bug
- To: law at cygnus dot com
- Subject: Re: More info on exception bug
- From: hjl at lucon dot org (H.J. Lu)
- Date: Sun, 2 Nov 1997 09:36:43 -0800 (PST)
- Cc: egcs at cygnus dot com
>
> In message <m0xGrFm-0004eeC@ocean.lucon.org>you write:
> > Hi,
> >
> > It seems that expand_exception_blocks () in cp/except.c is kind of
> > screwed up. When entering expand_exception_blocks (),
> > pending_stack_adjust is 0. But in expand_leftover_cleanups (),
> > pending_stack_adjust is changed for the exception handler. As the
> > result, the stacks of the function and its exception handler are
> > all mixed up.
> >
> > I am enclosing a kludge here. There must be a better fix than that.
> I believe Jason fixed this on Oct 20th:
>
> Mon Oct 20 12:06:34 1997 Jason Merrill <jason@yorick.cygnus.com>
>
> * except.c (expand_exception_blocks): Call do_pending_stack_adust.
> (expand_end_catch_block): Likewise.
> (expand_end_eh_spec): Likewise.
>
> Your testcase compiles and executes fine for me on my linux box.
> jeff
>
Yes. Thanks.
--
H.J. Lu (hjl@gnu.ai.mit.edu)