]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR java/4230 (gcj -C segfaults on static string continuation '+' in gcj 3.1 experm...
authorAlexandre Petit-Bianco <apbianco@redhat.com>
Fri, 7 Sep 2001 18:30:29 +0000 (11:30 -0700)
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>
Fri, 7 Sep 2001 18:30:29 +0000 (11:30 -0700)
commit731866ba53c49d2633c2d298a71462dbbd7f356b
tree8098278e0ae77ece871e4167b796a3e9826f8024
parent9b3bd4249d2e0e46d4bec0909e626543bbd14d3b
re PR java/4230 (gcj -C segfaults on static string continuation '+' in gcj 3.1 expermental.)

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 )

From-SVN: r45474
gcc/java/ChangeLog
gcc/java/jcf-write.c
gcc/java/parse.y