NOTE_PUSH for single-case push. Fixes PR java/4189.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45655
138bc75d-0d04-0410-961f-
82ee72b054a4
+2001-09-16 Tom Tromey <tromey@redhat.com>
+
+ * jcf-write.c (generate_bytecode_insns) [SWITCH_EXPR]: Call
+ NOTE_PUSH for single-case push. Fixes PR java/4189.
+
2001-09-13 Alexandre Petit-Bianco <apbianco@redhat.com>
* java-tree.h (TYPE_IMPORT_LIST): New macro.
else
{
push_int_const (sw_state.cases->offset, state);
+ NOTE_PUSH (1);
emit_if (sw_state.cases->label,
OPCODE_if_icmpeq, OPCODE_if_icmpne, state);
}