diff options
author | Bryce McKinlay <mckinlay@redhat.com> | 2004-06-29 18:09:58 +0000 |
---|---|---|
committer | Bryce McKinlay <bryce@gcc.gnu.org> | 2004-06-29 19:09:58 +0100 |
commit | b4bbd47e224cdcd667d17e332cb46cb4c12d54cc (patch) | |
tree | 12f8e09deb7ffb2977c18f3a03df749a65e53dd9 /libjava/testsuite/libjava.compile | |
parent | c95430028cde0571e4408ab54b8ce0e8dd469e26 (diff) | |
download | gcc-b4bbd47e224cdcd667d17e332cb46cb4c12d54cc.zip gcc-b4bbd47e224cdcd667d17e332cb46cb4c12d54cc.tar.gz gcc-b4bbd47e224cdcd667d17e332cb46cb4c12d54cc.tar.bz2 |
re PR tree-optimization/16249 (ICE in calculate_live_on_entry, at tree-ssa-live.c:724)
* testsuite/libjava.compile/PR16249.java: New test case. PR
gcc/16249.
From-SVN: r83869
Diffstat (limited to 'libjava/testsuite/libjava.compile')
-rw-r--r-- | libjava/testsuite/libjava.compile/PR16249.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/PR16249.java b/libjava/testsuite/libjava.compile/PR16249.java new file mode 100644 index 0000000..5495dda --- /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) {
+ }
+ }
+ }
+}
|