parse.y (maybe_yank_clinit): New function.
authorAlexandre Petit-Bianco <apbianco@cygnus.com>
Thu, 1 Jun 2000 05:54:26 +0000 (05:54 +0000)
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>
Thu, 1 Jun 2000 05:54:26 +0000 (22:54 -0700)
commit92d8351549902259fb219f089e37f4cde3aec9a8
tree6cf542ccff05777410e2360cd160b2c2e8fff490
parent64cdd351dda48323a0a04beda01757e8b2bcbb7f
parse.y (maybe_yank_clinit): New function.

2000-04-17  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * parse.y (maybe_yank_clinit): New function.
        (maybe_generate_pre_expand_clinit): Always link <clinit> at the
        end of the list of methods belonging to a class.
        (java_complete_expand_method): Check whether <clinit> is really
        necessary and expand it accordingly.

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