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
This commit is contained in:
Bryce McKinlay 2004-06-29 18:09:58 +00:00 committed by Bryce McKinlay
parent c95430028c
commit b4bbd47e22
2 changed files with 23 additions and 2 deletions

View 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>

View File

@ -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) {
}
}
}
}