This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch: another bug fix from Alex
- To: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Subject: Patch: another bug fix from Alex
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 19 May 2000 16:00:44 -0600
- Reply-To: tromey at cygnus dot com
I'm checking this in. It is another gcj bug fix from Alex that is
required by my recent large patch to libgcj.
Thu Apr 27 17:25:33 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
* parse.y (block_end:): If the collected block doesn't feature a
statement, insert an empty statement.
Tom
Index: parse.y
===================================================================
RCS file: /cvs/gcc/egcs/gcc/java/parse.y,v
retrieving revision 1.166
diff -u -r1.166 parse.y
--- parse.y 2000/05/19 16:17:20 1.166
+++ parse.y 2000/05/19 22:00:25
@@ -1326,6 +1326,8 @@
DECL_END_SOURCE_LINE (current_function_decl) =
EXPR_WFL_ADD_COL ($1.location, 1);
$$ = exit_block ();
+ if (!BLOCK_SUBBLOCKS ($$))
+ BLOCK_SUBBLOCKS ($$) = empty_stmt_node;
}
;