re PR java/3096 (GCJ does not increment)
authorTang Ching-Hui <nicholas@cs.nthu.edu.tw>
Sun, 2 Dec 2001 10:44:54 +0000 (18:44 +0800)
committerBryce McKinlay <bryce@gcc.gnu.org>
Sun, 2 Dec 2001 10:44:54 +0000 (10:44 +0000)
commitb736dee60789f2353beeda8aed5b980659712c65
tree28bf1e5a9de0c8886fdbcffd97a6273ddb87c033
parent41543739cd3813a7e593fc4f61b558ecf6cffaf3
re PR java/3096 (GCJ does not increment)

2001-12-02  Tang Ching-Hui  <nicholas@cs.nthu.edu.tw>
    Alexandre Petit-Bianco  <apbianco@redhat.com>

* expr.c: call save_expr on array for correct evaluation order,
modified comment, fixed indentation.
* parse.y: (patch_assignment): Correctly extract the array base
from the tree generate by build_java_arrayaccess, added comments.
(patch_array_ref): Remove SAVE_EXPR on ARRAY_REF.
Fixes PR java/3096, PR java/3803, PR java/3965.

Co-Authored-By: Alexandre Petit-Bianco <apbianco@redhat.com>
From-SVN: r47525
gcc/java/ChangeLog
gcc/java/expr.c
gcc/java/parse.y