PR java/19921:
* jcf-write.c (generate_bytecode_insns) <CALL_EXPR>: Note the
stack effect of multianewarray.
libjava:
For PR java/19929:
* testsuite/libjava.lang/PR19929.out: New file.
* testsuite/libjava.lang/PR19929.java: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95041
138bc75d-0d04-0410-961f-
82ee72b054a4
+2005-02-14 Tom Tromey <tromey@redhat.com>
+
+ PR java/19921:
+ * jcf-write.c (generate_bytecode_insns) <CALL_EXPR>: Note the
+ stack effect of multianewarray.
+
2005-02-14 Andrew Haley <aph@redhat.com>
PR java/19907
2005-02-14 Andrew Haley <aph@redhat.com>
PR java/19907
OP1 (OPCODE_multianewarray);
OP2 (index);
OP1 (ndims);
OP1 (OPCODE_multianewarray);
OP2 (index);
OP1 (ndims);
break;
}
else if (f == soft_anewarray_node)
break;
}
else if (f == soft_anewarray_node)
+2005-02-14 Tom Tromey <tromey@redhat.com>
+
+ For PR java/19929:
+ * testsuite/libjava.lang/PR19929.out: New file.
+ * testsuite/libjava.lang/PR19929.java: New file.
+
2005-02-14 Anthony Green <green@redhat.com>
PR libgcj/18116
2005-02-14 Anthony Green <green@redhat.com>
PR libgcj/18116
--- /dev/null
+interface I {
+ void f(Object x);
+}
+
+class PR19929 {
+ static void g(I i) {
+ // gcj used to create invalid bytecode for this.
+ i.f(new Object[1][1]);
+ }
+ public static void main(String[] args) { }
+}