From: Bryce McKinlay Date: Tue, 29 Jun 2004 18:09:58 +0000 (+0000) Subject: re PR tree-optimization/16249 (ICE in calculate_live_on_entry, at tree-ssa-live.c... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b4bbd47e224cdcd667d17e332cb46cb4c12d54cc;p=gcc.git 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 --- 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 + + * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249. + 2004-06-28 Bryce McKinlay - * 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 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) { + } + } + } +}