re GNATS gcj/46 (Static inializers compiled incorrectly)
authorAlexandre Petit-Bianco <apbianco@cygnus.com>
Tue, 21 Sep 1999 15:53:23 +0000 (15:53 +0000)
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>
Tue, 21 Sep 1999 15:53:23 +0000 (08:53 -0700)
commitb771925e7ed1fa2d5f528fe515ab4698f2bd45c8
treebe78ec0ab69bf96c9106497110d0804c8922b48b
parent309dd885ff9f569aec12cb5e3281a3b4dd73a8e0
re GNATS gcj/46 (Static inializers compiled incorrectly)

Thu Sep 16 15:42:39 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>

* parse.y (java_method_add_stmt): Test against GET_CURRENT_BLOCK
  instead of fndecl.

(This patch fixes the net Java PR #46:
 http://sourceware.cygnus.com/ml/java-prs/1999-q3/msg00092.html)

From-SVN: r29550
gcc/java/ChangeLog
gcc/java/parse.c
gcc/java/parse.y