diff options
author | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-29 18:09:58 +0000 |
---|---|---|
committer | bryce <bryce@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-29 18:09:58 +0000 |
commit | 75c6d74e1b2e9931179cc7318877003c2849db1b (patch) | |
tree | 12f8e09deb7ffb2977c18f3a03df749a65e53dd9 | |
parent | fe003eefe0694817968525ba1fbfa3d59d3df4a2 (diff) | |
download | ppe42-gcc-75c6d74e1b2e9931179cc7318877003c2849db1b.tar.gz ppe42-gcc-75c6d74e1b2e9931179cc7318877003c2849db1b.zip |
* testsuite/libjava.compile/PR16249.java: New test case. PR
gcc/16249.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83869 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | libjava/ChangeLog | 7 | ||||
-rw-r--r-- | libjava/testsuite/libjava.compile/PR16249.java | 18 |
2 files changed, 23 insertions, 2 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index e88ef33a6b4..2c43ace5609 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,7 +1,10 @@ +2004-06-29 Bryce McKinlay <mckinlay@redhat.com> + + * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249. + 2004-06-28 Bryce McKinlay <mckinlay@redhat.com> - * testsuite/libjava.jacks/jacks.xfail: Remove - 8.1.3-superclass-6. + * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6. 2004-06-28 Jerry Quinn <jlquinn@optonline.net> diff --git a/libjava/testsuite/libjava.compile/PR16249.java b/libjava/testsuite/libjava.compile/PR16249.java new file mode 100644 index 00000000000..5495dda3430 --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR16249.java @@ -0,0 +1,18 @@ +// Regression test for PR java/16249.
+
+class PR16249
+{
+ static void bug(byte[] iCode, int pc)
+ {
+ while (pc < 100) {
+ try {
+ switch (iCode[pc] & 0xff) {
+ case 666:
+ iCode[++pc] = 1;
+ }
+ }
+ catch (Throwable ex) {
+ }
+ }
+ }
+}
|