diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-09-12 19:00:48 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-09-12 19:00:48 +0000 |
commit | d7bec157350258dc9b9fe9def92f6736fde66b2d (patch) | |
tree | c5fc3c1a84f7ec8086a8e4264049d1e6de109590 /libjava/testsuite | |
parent | 7c3fa44a2cdd0d9c0731c2fb4683d55e2b31246e (diff) | |
download | gcc-d7bec157350258dc9b9fe9def92f6736fde66b2d.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116902 138bc75d-0d04-0410-961f-82ee72b054a4
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 00000000000..942ba97bb8e --- /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 00000000000..e69de29bb2d --- /dev/null +++ b/libjava/testsuite/libjava.lang/PR29013.out |