re PR tree-optimization/16249 (ICE in calculate_live_on_entry, at tree-ssa-live.c...
authorBryce McKinlay <mckinlay@redhat.com>
Tue, 29 Jun 2004 18:09:58 +0000 (18:09 +0000)
committerBryce McKinlay <bryce@gcc.gnu.org>
Tue, 29 Jun 2004 18:09:58 +0000 (19:09 +0100)
* testsuite/libjava.compile/PR16249.java: New test case. PR
gcc/16249.

From-SVN: r83869

libjava/ChangeLog
libjava/testsuite/libjava.compile/PR16249.java [new file with mode: 0644]

index e88ef33a6b4fa2c0b99b045e5dfc9605ed9ec34b..2c43ace56097c89fc7c0419133bfa75848e7b753 100644 (file)
@@ -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 (file)
index 0000000..5495dda
--- /dev/null
@@ -0,0 +1,18 @@
+// Regression test for PR java/16249.\r
+\r
+class PR16249\r
+{\r
+    static void bug(byte[] iCode, int pc)\r
+    {\r
+        while (pc < 100) {\r
+            try {\r
+                switch (iCode[pc] & 0xff) {\r
+                    case 666:\r
+                        iCode[++pc] = 1;\r
+                }\r
+            }\r
+            catch (Throwable ex) {\r
+            }\r
+        }\r
+    }\r
+}\r