This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: 971127 internal compiler error


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)
  	{


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]