OSDN Git Service

2001-04-04 Alexandre Petit-Bianco <apbianco@redhat.com>
authorapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Apr 2001 22:59:12 +0000 (22:59 +0000)
committerapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 Apr 2001 22:59:12 +0000 (22:59 +0000)
commite13cfff747e14437b9de062aaf10800b0db49c2d
tree9d4743d71e75362eb9798fa906a94ca8f810cf3f
parent5992d3b437cb787cb3a25d485973e75dbebf4e86
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)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41129 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/java/ChangeLog
gcc/java/java-tree.h
gcc/java/parse.y