diff options
author | Tom Tromey <tromey@redhat.com> | 2006-09-12 19:00:48 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2006-09-12 19:00:48 +0000 |
commit | f8248aaa3b808d42da244c4c69feaa0db61ff489 (patch) | |
tree | c5fc3c1a84f7ec8086a8e4264049d1e6de109590 /libjava/testsuite | |
parent | ed08fcf6fc001390cb827e8cf45d5b1e7d93847a (diff) | |
download | gcc-f8248aaa3b808d42da244c4c69feaa0db61ff489.zip gcc-f8248aaa3b808d42da244c4c69feaa0db61ff489.tar.gz gcc-f8248aaa3b808d42da244c4c69feaa0db61ff489.tar.bz2 |
re PR java/29013 (gcj generates a MetalLookAndFeel class that fails cacao's verifier)
gcc/java
PR java/29013:
* jcf-write.c (generate_bytecode_insns) <CALL_EXPR>: Always note
the push of the called method's return result.
libjava
PR java/29013:
* testsuite/libjava.lang/PR29013.out: Likewise.
* testsuite/libjava.lang/PR29013.java: New file.
From-SVN: r116902
Diffstat (limited to 'libjava/testsuite')
-rw-r--r-- | libjava/testsuite/libjava.lang/PR29013.java | 9 | ||||
-rw-r--r-- | libjava/testsuite/libjava.lang/PR29013.out | 0 |
2 files changed, 9 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.lang/PR29013.java b/libjava/testsuite/libjava.lang/PR29013.java new file mode 100644 index 0000000..942ba97 --- /dev/null +++ b/libjava/testsuite/libjava.lang/PR29013.java @@ -0,0 +1,9 @@ +public class PR29013 { + public static int result() { return 5; } + + public static void computeResult() { result(); } + + public static void main(String[] args) { + computeResult(); + } +} diff --git a/libjava/testsuite/libjava.lang/PR29013.out b/libjava/testsuite/libjava.lang/PR29013.out new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/libjava/testsuite/libjava.lang/PR29013.out |