OSDN Git Service

2001-09-05 Alexandre Petit-Bianco <apbianco@redhat.com>
authorapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Sep 2001 18:30:29 +0000 (18:30 +0000)
committerapbianco <apbianco@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Sep 2001 18:30:29 +0000 (18:30 +0000)
commit0740f037bdc0dd3a9581cafd1f2825572a8d6b5b
tree8098278e0ae77ece871e4167b796a3e9826f8024
parentf4ad60b78be74eb0dbf0d85a7ed926584eee16d2
2001-09-05 Alexandre Petit-Bianco  <apbianco@redhat.com>

* jcf-write.c (generate_classfile): Issue an error in case of
field/initial value mismatch.
* parse.y (analyze_clinit_body): Keep <clinit> if an array is
being initialized and we're generating bytecode.
(java_complete_lhs): In MODIFY_EXPR section: added comments,
set DECL_INITIAL properly when appropriate.
Fixes PR java/4230
Fixes PR java/4204

(http://gcc.gnu.org/ml/gcc-patches/2001-09/msg00247.html )

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45474 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/java/ChangeLog
gcc/java/jcf-write.c
gcc/java/parse.y