re PR java/1315 (Inner class initializer crash)
authorAlexandre Petit-Bianco <apbianco@redhat.com>
Thu, 5 Apr 2001 22:59:12 +0000 (15:59 -0700)
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>
Thu, 5 Apr 2001 22:59:12 +0000 (15:59 -0700)
commit73c299fc2276884f695006a361aac9450f1671da
tree9d4743d71e75362eb9798fa906a94ca8f810cf3f
parent864e133c3cb393bf06302f3f580c9c91ffe95f89
re PR java/1315 (Inner class initializer crash)

2001-04-04  Alexandre Petit-Bianco  <apbianco@redhat.com>

* java-tree.h (struct lang_decl): New macro
`DECL_FIXED_CONSTRUCTOR_P.' New field `fixed_ctor.'
* parse.y (build_instance_initializer): New function.
(add_instance_initializer): Use it.
(java_fix_constructors): Set `current_class' before fix pass.
(fix_constructors): Just return if already fixed. Move `super()'
invokation ahead. Use `build_instance_initializer.'
Fixes PR java/1315.

(http://gcc.gnu.org/ml/gcc-patches/2001-04/msg00343.html)

From-SVN: r41129
gcc/java/ChangeLog
gcc/java/java-tree.h
gcc/java/parse.y