For PR java/4509:
authorTom Tromey <tromey@gcc.gnu.org>
Fri, 21 Dec 2001 19:15:36 +0000 (19:15 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Fri, 21 Dec 2001 19:15:36 +0000 (19:15 +0000)
commit82712f8b746a5ba02aeab77deb4a437cf8604b0e
treeb3d0be987747d095e465e772a05f7e4f8a491155
parent0ba28a6d484b7aab09c57af8d36e3b789a443c3f
For PR java/4509:

* parse.y (java_complete_lhs) [COMPOUND_EXPR]: Correctly compute
CAN_COMPLETE_NORMALLY for the node.
* jcf-write.c (generate_bytecode_insns) [COMPOUND_EXPR]: Don't
generate code for second branch if first branch can't complete
normally.
(generate_bytecode_insns) [LOOP_EXPR]: Don't generate `goto' to
the loop head if the loop body can't complete normally.

From-SVN: r48249
gcc/java/parse.y