This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: 971127 internal compiler error
- To: tom at zaphod dot wh9 dot tu-dresden dot de (Thomas Weise), egcs-bugs at cygnus dot com
- Subject: Re: 971127 internal compiler error
- From: Jason Merrill <jason at cygnus dot com>
- Date: 29 Nov 1997 02:21:07 -0800
- References: <347EEF3C.5ADD.cygnus.egcs.bugs@zaphod.wh9.tu-dresden.de>
Please try this patch, and let us know how it works for you.
Sat Nov 29 02:16:32 1997 Jason Merrill <jason@yorick.cygnus.com>
* stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start.
Index: stmt.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/stmt.c,v
retrieving revision 1.131
diff -c -r1.131 stmt.c
*** stmt.c 1997/11/10 20:08:36 1.131
--- stmt.c 1997/11/29 10:13:52
***************
*** 3992,3997 ****
--- 3992,3999 ----
if (! using_eh_for_cleanups_p
|| expand_eh_region_start_tree (decl, cleanup))
TREE_ADDRESSABLE (t) = 1;
+ /* If that started a new EH region, we're in a new block. */
+ thisblock = block_stack;
if (cond_context)
{