This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Patch (Java): PR16113 - Remove Extraneous Call to expand_end_bindings()


Hi,

  This patch fixes PR16113 by removing the erroneous
(in the post-tree-ssa world) call to expand_end_bindings().

Tested on i686-pc-linux-gnu with no libjava and Jacks testsuite
regressions (except for two current, unrelated FAILs related
to the "err6" testcase, as noted elsewhere).

OK for mainline?

Ranjit.

Index: ChangeLog
from  Andrew Haley  <aph@redhat.com>
	Ranjit Mathew  <rmathew@hotmail.com>

	Fixes PR java/16113
	* decl.c (force_poplevels): Remove call to expand_end_bindings.

Index: decl.c
===================================================================
--- decl.c	2004-06-22 15:54:18.000000000 +0530
+++ decl.c	2004-06-22 15:54:47.000000000 +0530
@@ -1542,7 +1542,6 @@ force_poplevels (int start_pc)
 	warning ("%JIn %D: overlapped variable and exception ranges at %d",
                  current_function_decl, current_function_decl,
 		 current_binding_level->start_pc);
-      expand_end_bindings (getdecls (), 1, 0);
       poplevel (1, 0, 0);
     }
 }


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