From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: hjl@lucon.org (H.J. Lu) Cc: egcs@cygnus.com Subject: Re: More info on exception bug Date: Sat, 01 Nov 1997 19:59:00 -0000 Message-id: <9993.878443303@hurl.cygnus.com> References: X-SW-Source: 1997-11/msg00024.html In message 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 * 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