aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile
diff options
context:
space:
mode:
authorTom Tromey <tromey@gcc.gnu.org>2007-01-09 19:58:05 +0000
committerTom Tromey <tromey@gcc.gnu.org>2007-01-09 19:58:05 +0000
commit97b8365cafc3a344a22d3980b8ed885f5c6d8357 (patch)
tree996a5f57d4a68c53473382e45cb22f574cb3e4db /libjava/testsuite/libjava.compile
parentc648dedbde727ca3f883bb5fd773aa4af70d3369 (diff)
downloadgcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.zip
gcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.tar.gz
gcc-97b8365cafc3a344a22d3980b8ed885f5c6d8357.tar.bz2
Merged gcj-eclipse branch to trunk.
From-SVN: r120621
Diffstat (limited to 'libjava/testsuite/libjava.compile')
-rw-r--r--libjava/testsuite/libjava.compile/ArrayClass.java11
-rw-r--r--libjava/testsuite/libjava.compile/AssertBug.java7
-rw-r--r--libjava/testsuite/libjava.compile/Case.java15
-rw-r--r--libjava/testsuite/libjava.compile/G19990210_1.java18
-rw-r--r--libjava/testsuite/libjava.compile/G19990210_2.java18
-rw-r--r--libjava/testsuite/libjava.compile/G19990210_3.java23
-rw-r--r--libjava/testsuite/libjava.compile/G19990217_01.java16
-rw-r--r--libjava/testsuite/libjava.compile/G19990217_02.java16
-rw-r--r--libjava/testsuite/libjava.compile/G19990217_02.no-link1
-rw-r--r--libjava/testsuite/libjava.compile/G19990225_01.java7
-rw-r--r--libjava/testsuite/libjava.compile/InnerExcept.java19
-rw-r--r--libjava/testsuite/libjava.compile/MethodFailure4.java40
-rw-r--r--libjava/testsuite/libjava.compile/MethodFailure4.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/N19990310_01.java18
-rw-r--r--libjava/testsuite/libjava.compile/N19990317.java23
-rw-r--r--libjava/testsuite/libjava.compile/OperatorBenchmark.java886
-rw-r--r--libjava/testsuite/libjava.compile/PR11600.java7
-rw-r--r--libjava/testsuite/libjava.compile/PR11600.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/PR12374.java27
-rw-r--r--libjava/testsuite/libjava.compile/PR124.java9
-rw-r--r--libjava/testsuite/libjava.compile/PR124.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/PR127.java11
-rw-r--r--libjava/testsuite/libjava.compile/PR127.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/PR12857.java4
-rw-r--r--libjava/testsuite/libjava.compile/PR129_B.java9
-rw-r--r--libjava/testsuite/libjava.compile/PR129_B.no-link1
-rw-r--r--libjava/testsuite/libjava.compile/PR13024.java18
-rw-r--r--libjava/testsuite/libjava.compile/PR13237.java3
-rw-r--r--libjava/testsuite/libjava.compile/PR1343.java17
-rw-r--r--libjava/testsuite/libjava.compile/PR13733.java10
-rw-r--r--libjava/testsuite/libjava.compile/PR13733.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/PR140.java13
-rw-r--r--libjava/testsuite/libjava.compile/PR140.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/PR14853.java17
-rw-r--r--libjava/testsuite/libjava.compile/PR14853.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/PR15769.java10
-rw-r--r--libjava/testsuite/libjava.compile/PR16249.java18
-rw-r--r--libjava/testsuite/libjava.compile/PR163.java8
-rw-r--r--libjava/testsuite/libjava.compile/PR163.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/PR164.java6
-rw-r--r--libjava/testsuite/libjava.compile/PR164.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/PR16675.java13
-rw-r--r--libjava/testsuite/libjava.compile/PR16701.java10
-rw-r--r--libjava/testsuite/libjava.compile/PR19277.java7
-rw-r--r--libjava/testsuite/libjava.compile/PR19277.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/PR19295.java16
-rw-r--r--libjava/testsuite/libjava.compile/PR19674.java7
-rw-r--r--libjava/testsuite/libjava.compile/PR20312.java8
-rw-r--r--libjava/testsuite/libjava.compile/PR20312.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/PR20418.java7
-rw-r--r--libjava/testsuite/libjava.compile/PR20418.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/PR206.java7
-rw-r--r--libjava/testsuite/libjava.compile/PR20697.java29
-rw-r--r--libjava/testsuite/libjava.compile/PR207.java6
-rw-r--r--libjava/testsuite/libjava.compile/PR207.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/PR208.java16
-rw-r--r--libjava/testsuite/libjava.compile/PR208.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/PR209.java4
-rw-r--r--libjava/testsuite/libjava.compile/PR21045.java11
-rw-r--r--libjava/testsuite/libjava.compile/PR224.java16
-rw-r--r--libjava/testsuite/libjava.compile/PR224.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/PR232.java16
-rw-r--r--libjava/testsuite/libjava.compile/PR232B.java15
-rw-r--r--libjava/testsuite/libjava.compile/PR234.java24
-rw-r--r--libjava/testsuite/libjava.compile/PR23431_1.java9
-rw-r--r--libjava/testsuite/libjava.compile/PR23431_1.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/PR23431_2.java9
-rw-r--r--libjava/testsuite/libjava.compile/PR23431_2.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/PR235.java7
-rw-r--r--libjava/testsuite/libjava.compile/PR238.java9
-rw-r--r--libjava/testsuite/libjava.compile/PR238.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/PR295.java11
-rw-r--r--libjava/testsuite/libjava.compile/PR310.java9
-rw-r--r--libjava/testsuite/libjava.compile/PR310.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/PR3417.java6
-rw-r--r--libjava/testsuite/libjava.compile/PR3417.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/PR374.java9
-rw-r--r--libjava/testsuite/libjava.compile/PR375.java7
-rw-r--r--libjava/testsuite/libjava.compile/PR4766.java25
-rw-r--r--libjava/testsuite/libjava.compile/PR5641.java20
-rw-r--r--libjava/testsuite/libjava.compile/PR5641.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/PR5848.java14
-rw-r--r--libjava/testsuite/libjava.compile/PR5848.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/PR5902.java4
-rw-r--r--libjava/testsuite/libjava.compile/PR5913.java6
-rw-r--r--libjava/testsuite/libjava.compile/PR6026.java4
-rw-r--r--libjava/testsuite/libjava.compile/PR6865.java5
-rw-r--r--libjava/testsuite/libjava.compile/PR6865.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/Semi.java8
-rw-r--r--libjava/testsuite/libjava.compile/Statics.java7
-rw-r--r--libjava/testsuite/libjava.compile/SuperConstr.java20
-rw-r--r--libjava/testsuite/libjava.compile/T20020529.java23
-rw-r--r--libjava/testsuite/libjava.compile/T20020604.java17
-rw-r--r--libjava/testsuite/libjava.compile/Twice.java14
-rw-r--r--libjava/testsuite/libjava.compile/Where.java12
-rw-r--r--libjava/testsuite/libjava.compile/Where.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/XercesBug.java13
-rw-r--r--libjava/testsuite/libjava.compile/abstr.java14
-rw-r--r--libjava/testsuite/libjava.compile/abstr.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/assignment.java19
-rw-r--r--libjava/testsuite/libjava.compile/assignment_2.java32
-rw-r--r--libjava/testsuite/libjava.compile/block.java14
-rw-r--r--libjava/testsuite/libjava.compile/block.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/comment.java7
-rw-r--r--libjava/testsuite/libjava.compile/compile.exp20
-rw-r--r--libjava/testsuite/libjava.compile/consthrow.java6
-rw-r--r--libjava/testsuite/libjava.compile/consthrow.xfail2
-rw-r--r--libjava/testsuite/libjava.compile/final_assignment_check.java12
-rw-r--r--libjava/testsuite/libjava.compile/final_assignment_check.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/final_initialization_in_ctor.java21
-rw-r--r--libjava/testsuite/libjava.compile/final_local_switch.java16
-rw-r--r--libjava/testsuite/libjava.compile/iface.java24
-rw-r--r--libjava/testsuite/libjava.compile/inner_1.java36
-rw-r--r--libjava/testsuite/libjava.compile/inner_1.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/inner_data.java18
-rw-r--r--libjava/testsuite/libjava.compile/inner_inherit.java14
-rw-r--r--libjava/testsuite/libjava.compile/inner_priv.java11
-rw-r--r--libjava/testsuite/libjava.compile/inner_pub.java11
-rw-r--r--libjava/testsuite/libjava.compile/invokeinterface/A.java4
-rw-r--r--libjava/testsuite/libjava.compile/invokeinterface/B.java4
-rw-r--r--libjava/testsuite/libjava.compile/invokeinterface/Test.java19
-rw-r--r--libjava/testsuite/libjava.compile/narrow_case.java11
-rw-r--r--libjava/testsuite/libjava.compile/not_a_redef.java6
-rw-r--r--libjava/testsuite/libjava.compile/not_a_redef.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/perc.java9
-rw-r--r--libjava/testsuite/libjava.compile/plusplus.java10
-rw-r--r--libjava/testsuite/libjava.compile/pr10459.java15
-rw-r--r--libjava/testsuite/libjava.compile/pr13788.java8
-rw-r--r--libjava/testsuite/libjava.compile/pr15656.java8
-rw-r--r--libjava/testsuite/libjava.compile/pr15656.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/pr172.java9
-rw-r--r--libjava/testsuite/libjava.compile/pr17329.java14
-rw-r--r--libjava/testsuite/libjava.compile/pr174.java15
-rw-r--r--libjava/testsuite/libjava.compile/pr17500.java28
-rw-r--r--libjava/testsuite/libjava.compile/pr176.java15
-rw-r--r--libjava/testsuite/libjava.compile/pr21519.java8
-rw-r--r--libjava/testsuite/libjava.compile/pr21519.no-link0
-rw-r--r--libjava/testsuite/libjava.compile/pr21540.java15
-rw-r--r--libjava/testsuite/libjava.compile/pr25429.java13
-rw-r--r--libjava/testsuite/libjava.compile/pr26042.java12
-rw-r--r--libjava/testsuite/libjava.compile/pr7912.java8
-rw-r--r--libjava/testsuite/libjava.compile/pr8712.java7
-rw-r--r--libjava/testsuite/libjava.compile/pr8955.java13
-rw-r--r--libjava/testsuite/libjava.compile/redef1.java6
-rw-r--r--libjava/testsuite/libjava.compile/redef1.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/redef2.java6
-rw-r--r--libjava/testsuite/libjava.compile/redef2.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/redef3.java6
-rw-r--r--libjava/testsuite/libjava.compile/redef3.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/redef4.java6
-rw-r--r--libjava/testsuite/libjava.compile/redef4.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/redef5.java6
-rw-r--r--libjava/testsuite/libjava.compile/redef5.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/redef6.java6
-rw-r--r--libjava/testsuite/libjava.compile/redef6.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/rh174912.java17
-rw-r--r--libjava/testsuite/libjava.compile/rh175833.java13
-rw-r--r--libjava/testsuite/libjava.compile/static_1.java12
-rw-r--r--libjava/testsuite/libjava.compile/static_1.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/static_2.java10
-rw-r--r--libjava/testsuite/libjava.compile/static_2.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/static_3.java5
-rw-r--r--libjava/testsuite/libjava.compile/static_3.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/static_init.java4
-rw-r--r--libjava/testsuite/libjava.compile/static_init.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/static_init2.java9
-rw-r--r--libjava/testsuite/libjava.compile/static_inner.java19
-rw-r--r--libjava/testsuite/libjava.compile/support/Case.java6
-rw-r--r--libjava/testsuite/libjava.compile/support/PR129_A.java6
-rw-r--r--libjava/testsuite/libjava.compile/support/PR206_A.java8
-rw-r--r--libjava/testsuite/libjava.compile/support/PR207_A.java13
-rw-r--r--libjava/testsuite/libjava.compile/support/Waldo.java7
-rw-r--r--libjava/testsuite/libjava.compile/uesc.java9
-rw-r--r--libjava/testsuite/libjava.compile/uesc.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/weirddecl.java8
-rw-r--r--libjava/testsuite/libjava.compile/weirddecl.xfail1
-rw-r--r--libjava/testsuite/libjava.compile/zeroexp.java10
177 files changed, 0 insertions, 2548 deletions
diff --git a/libjava/testsuite/libjava.compile/ArrayClass.java b/libjava/testsuite/libjava.compile/ArrayClass.java
deleted file mode 100644
index cd2ac2b..0000000
--- a/libjava/testsuite/libjava.compile/ArrayClass.java
+++ /dev/null
@@ -1,11 +0,0 @@
-public class ArrayClass
-{
- public static void main (String[] args)
- {
- System.out.println (ArrayClass.class);
- System.out.println (ArrayClass[].class);
- System.out.println (ArrayClass[][].class);
- System.out.println (ArrayClass[][][].class);
- System.out.println (ArrayClass[][][][].class);
- }
-}
diff --git a/libjava/testsuite/libjava.compile/AssertBug.java b/libjava/testsuite/libjava.compile/AssertBug.java
deleted file mode 100644
index 3938b11..0000000
--- a/libjava/testsuite/libjava.compile/AssertBug.java
+++ /dev/null
@@ -1,7 +0,0 @@
-// PR java/16927
-public class AssertBug {
- public void bug(Integer i) {
- assert(false):
- i.toString() + "!";
- }
-}
diff --git a/libjava/testsuite/libjava.compile/Case.java b/libjava/testsuite/libjava.compile/Case.java
deleted file mode 100644
index c5eb1d5..0000000
--- a/libjava/testsuite/libjava.compile/Case.java
+++ /dev/null
@@ -1,15 +0,0 @@
-// Simple compiler test.
-
-public class Case
-{
- public static int foo (int i, support.Case x)
- {
- switch (i)
- {
- case x.A:
- return 1;
- default:
- return 0;
- }
- }
-}
diff --git a/libjava/testsuite/libjava.compile/G19990210_1.java b/libjava/testsuite/libjava.compile/G19990210_1.java
deleted file mode 100644
index 9404f71..0000000
--- a/libjava/testsuite/libjava.compile/G19990210_1.java
+++ /dev/null
@@ -1,18 +0,0 @@
-/*-------------------------------------------------------------------------*/
-/* File name : G19990210_1 */
-/* : */
-/* Cause : */
-/* : */
-/* Message : G19990210_1.java: In class `G19990210_1': */
-/* G19990210_1.java: In method `foo()': */
-/* G19990210_1.java:8: Unreachable statement. */
-/* return 0; */
-/* ^ */
-/* 1 error */
-/*-------------------------------------------------------------------------*/
-public class G19990210_1 {
- int foo() {
- try { ; } finally { ; }
- return 0;
- }
-}
diff --git a/libjava/testsuite/libjava.compile/G19990210_2.java b/libjava/testsuite/libjava.compile/G19990210_2.java
deleted file mode 100644
index 3ad7d28..0000000
--- a/libjava/testsuite/libjava.compile/G19990210_2.java
+++ /dev/null
@@ -1,18 +0,0 @@
-/*-------------------------------------------------------------------------*/
-/* File name : G19990210_2 */
-/* : */
-/* Cause : */
-/* : */
-/* Message : G19990210_2.java: In class `G19990210_2': */
-/* : G19990210_2.java: In method `foo()': */
-/* : G19990210_2.java:5: Missing return statement. */
-/* : } */
-/* : ^ */
-/* : 1 error */
-/*-------------------------------------------------------------------------*/
-public class G19990210_2 {
- public int foo () {
- return 1;
- ;
- }
-}
diff --git a/libjava/testsuite/libjava.compile/G19990210_3.java b/libjava/testsuite/libjava.compile/G19990210_3.java
deleted file mode 100644
index 36a56fd..0000000
--- a/libjava/testsuite/libjava.compile/G19990210_3.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*-------------------------------------------------------------------------*/
-/* File name : G19990210_3 */
-/* : */
-/* Cause : */
-/* : */
-/* Message : G19990210_3.java: In class `G19990210_3': */
-/* : G19990210_3.java: In method `foo()': */
-/* : G19990210_3.java:23: Invalid argument to `++'. */
-/* : o.i++; */
-/* : ^ */
-/* : 1 error */
-/*-------------------------------------------------------------------------*/
-public class G19990210_3 {
- static void foo() {
- bar o = new bar();
- synchronized(o) {
- o.i++;
- }
- }
-}
-class bar {
- static int i;
-}
diff --git a/libjava/testsuite/libjava.compile/G19990217_01.java b/libjava/testsuite/libjava.compile/G19990217_01.java
deleted file mode 100644
index 3697dbe..0000000
--- a/libjava/testsuite/libjava.compile/G19990217_01.java
+++ /dev/null
@@ -1,16 +0,0 @@
-/*-------------------------------------------------------------------------*/
-/* File name : G19990217_01 */
-/* : */
-/* Cause : Compiler seems to run endlessly. */
-/* : */
-/* Message : No message. It's not stop to compile. */
-/*-------------------------------------------------------------------------*/
-
-public class G19990217_01 {
- int foo() {
- try {
- return 0;
- }
- finally { ; }
- }
-}
diff --git a/libjava/testsuite/libjava.compile/G19990217_02.java b/libjava/testsuite/libjava.compile/G19990217_02.java
deleted file mode 100644
index 8c290f2..0000000
--- a/libjava/testsuite/libjava.compile/G19990217_02.java
+++ /dev/null
@@ -1,16 +0,0 @@
-/*-------------------------------------------------------------------------*/
-/* File name : G19990217_02 */
-/* : */
-/* Cause : */
-/* : */
-/* Message : Can't access class `foo.bar'. */
-/* : Only public classes and interfaces in other packages can be */
-/* : accessed. */
-/* : public class G19990217_02 extends bar { */
-/* : ^ */
-/*-------------------------------------------------------------------------*/
-package foo;
-public class G19990217_02 extends bar {
-}
-class bar {
-}
diff --git a/libjava/testsuite/libjava.compile/G19990217_02.no-link b/libjava/testsuite/libjava.compile/G19990217_02.no-link
deleted file mode 100644
index e69cdec..0000000
--- a/libjava/testsuite/libjava.compile/G19990217_02.no-link
+++ /dev/null
@@ -1 +0,0 @@
-Don't link me
diff --git a/libjava/testsuite/libjava.compile/G19990225_01.java b/libjava/testsuite/libjava.compile/G19990225_01.java
deleted file mode 100644
index f20f473..0000000
--- a/libjava/testsuite/libjava.compile/G19990225_01.java
+++ /dev/null
@@ -1,7 +0,0 @@
-public class G19990225_01 {
- static int foo ;
- static {
- foo = 0;
- }
-}
-
diff --git a/libjava/testsuite/libjava.compile/InnerExcept.java b/libjava/testsuite/libjava.compile/InnerExcept.java
deleted file mode 100644
index df4b628..0000000
--- a/libjava/testsuite/libjava.compile/InnerExcept.java
+++ /dev/null
@@ -1,19 +0,0 @@
-import java.io.*;
-
-// Test case for http://gcc.gnu.org/PR12866
-// From Mark Wielaard
-public class InnerExcept
-{
- static private void createFile() throws IOException
- {
- new File("/dev/null");
- }
-
- class Inner
- {
- private void m() throws IOException
- {
- createFile();
- }
- }
-}
diff --git a/libjava/testsuite/libjava.compile/MethodFailure4.java b/libjava/testsuite/libjava.compile/MethodFailure4.java
deleted file mode 100644
index bed3a0e..0000000
--- a/libjava/testsuite/libjava.compile/MethodFailure4.java
+++ /dev/null
@@ -1,40 +0,0 @@
-import java.util.*;
-
-public class MethodFailure4 {
-
- public static String call(A obj) {
- return "A";
- }
- public static String call(I obj) {
- return "I";
- }
-
- interface I {}
- static class A {}
- static class B extends A implements I {}
- static class C extends B {}
-
-
- public static A getA() {
- return new A();
- }
-
- public static B getB() {
- return new B();
- }
-
- public static C getC() {
- return new C();
- }
-
- public static I getI() {
- return new C();
- }
-
- // this method invocation is ambiguous
-
- public static void main(String[] argv) {
- call( getC() );
- }
-
-}
diff --git a/libjava/testsuite/libjava.compile/MethodFailure4.xfail b/libjava/testsuite/libjava.compile/MethodFailure4.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/MethodFailure4.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/N19990310_01.java b/libjava/testsuite/libjava.compile/N19990310_01.java
deleted file mode 100644
index a9b9c19..0000000
--- a/libjava/testsuite/libjava.compile/N19990310_01.java
+++ /dev/null
@@ -1,18 +0,0 @@
-/*--------------------------------------------------------------------------*/
-/* name : N19990310_01 */
-/* : */
-/* cause : When compare string with connected strings, error. */
-/* : */
-/* Message : Internal compiler error: program jc1 got */
-/* : fatal signal 11 */
-/*--------------------------------------------------------------------------*/
-
-public class N19990310_01 {
- public static void main(String[] args) {
-
- if ( "Hello" == ("Hel"+"lo") ) {
- }
-
- System.out.println("OK");
- }
-}
diff --git a/libjava/testsuite/libjava.compile/N19990317.java b/libjava/testsuite/libjava.compile/N19990317.java
deleted file mode 100644
index 669da3b..0000000
--- a/libjava/testsuite/libjava.compile/N19990317.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*--------------------------------------------------------------------------*/
-/* Name : N19990317.java */
-/* : */
-/* Cause : When initialize valiable whose name is equal to method */
-/* : return value, error. */
-/* : */
-/* Message : Internal compiler error: program jc1 got */
-/* : fatal signal 11 */
-/*--------------------------------------------------------------------------*/
-
-class Point {}
-
-public class N19990317 {
-
- Point func() {
- return null;
- }
-
- public static void main(String[] args) {
- int Point = 2;
- System.out.println("OK");
- }
-}
diff --git a/libjava/testsuite/libjava.compile/OperatorBenchmark.java b/libjava/testsuite/libjava.compile/OperatorBenchmark.java
deleted file mode 100644
index 03f660d..0000000
--- a/libjava/testsuite/libjava.compile/OperatorBenchmark.java
+++ /dev/null
@@ -1,886 +0,0 @@
-
-/*
- * Copyright (c) 1996, 1997 by Doug Bell <dbell@shvn.com>. All Rights Reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- */
-
-
-// This file has been hacked to compile without the rest of the
-// benchmark code.
-
-class OperatorBenchmark {
-
- public int getSampleCount() { return 0; }
- public int getSampleMillis() { return 0; }
- public boolean go;
- public int useint[];
- public void startTest () { }
- public long finishTest () { return 0; }
- public void startTimer (boolean b) { }
- public void stopTimer (int a, int b) { }
- public void report (String s) { }
- public void println (String s) { }
-
- public int getTestTime () {
- return (int) (100 * getSampleCount() * getSampleMillis()) / 1000;
- }
-
- public int getRunningTime () {
- return (int) (1.1 * getTestTime());
- }
-
- public long runTest () {
- int dummy1 = 0, dummy2 = 0, dummy3 = 0; // occupy implicit index slots
- int cnt, ii;
- byte b1 = 1, b2 = 2, b3 = 3;
- short s1 = 1, s2 = 2, s3 = 3;
- int i1 = 1, i2 = 2, i3 = 3;
- long l1 = 1, l2 = 2, l3 = 3;
- float f1 = 1, f2 = 2, f3 = 3;
- double d1 = 1, d2 = 2, d3 = 3;
-
- startTest();
-
- println("--- byte operators, local vars");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- b1++;
- stopTimer(cnt, ii);
- }
- report("byte++");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- b1 += b2;
- stopTimer(cnt, ii);
- }
- report("byte += byte");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- b1 = (byte) (b2 + b3);
- stopTimer(cnt, ii);
- }
- report("byte = byte + byte");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- b1 *= b2;
- stopTimer(cnt, ii);
- }
- report("byte *= byte");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- b1 = (byte) (b2 * b3);
- stopTimer(cnt, ii);
- }
- report("byte = byte * byte");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- b1 *= 2;
- stopTimer(cnt, ii);
- }
- report("byte *= 2");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- b1 <<= 1;
- stopTimer(cnt, ii);
- }
- report("byte <<= 1");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- b1 %= b2;
- stopTimer(cnt, ii);
- }
- report("byte %= byte");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- b1 = (byte) (b2 % b3);
- stopTimer(cnt, ii);
- }
- report("byte = byte % byte");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- b1 /= b2;
- stopTimer(cnt, ii);
- }
- report("byte /= byte");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- b1 = (byte) (b2 / b3);
- stopTimer(cnt, ii);
- }
- report("byte = byte / byte");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- b1 /= 2;
- stopTimer(cnt, ii);
- }
- report("byte /= 2");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- b1 >>= 1;
- stopTimer(cnt, ii);
- }
- report("byte >>= 1");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- b1 >>= i2;
- stopTimer(cnt, ii);
- }
- report("byte >>= int");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- b1 = (byte) (b2 >> i3);
- stopTimer(cnt, ii);
- }
- report("byte = byte >> int");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- b1 |= b2;
- stopTimer(cnt, ii);
- }
- report("byte |= byte");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- b1 = (byte) (b2 | b3);
- stopTimer(cnt, ii);
- }
- report("byte = byte | byte");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- b1 &= b2;
- stopTimer(cnt, ii);
- }
- report("byte &= byte");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- b1 = (byte) (b2 & b3);
- stopTimer(cnt, ii);
- }
- report("byte = byte & byte");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- b1 ^= b2;
- stopTimer(cnt, ii);
- }
- report("byte ^= byte");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- b1 = (byte) (b2 ^ b3);
- stopTimer(cnt, ii);
- }
- report("byte = byte ^ byte");
-
-
- println("--- short operators, local vars");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- s1++;
- stopTimer(cnt, ii);
- }
- report("short++");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- s1 += s2;
- stopTimer(cnt, ii);
- }
- report("short += short");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- s1 = (short) (s2 + s3);
- stopTimer(cnt, ii);
- }
- report("short = short + short");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- s1 *= s2;
- stopTimer(cnt, ii);
- }
- report("short *= short");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- s1 = (short) (s2 * s3);
- stopTimer(cnt, ii);
- }
- report("short = short * short");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- s1 *= 2;
- stopTimer(cnt, ii);
- }
- report("short *= 2");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- s1 <<= 1;
- stopTimer(cnt, ii);
- }
- report("short <<= 1");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- s1 %= s2;
- stopTimer(cnt, ii);
- }
- report("short %= short");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- s1 = (short) (s2 % s3);
- stopTimer(cnt, ii);
- }
- report("short = short % short");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- s1 /= s2;
- stopTimer(cnt, ii);
- }
- report("short /= short");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- s1 = (short) (s2 / s3);
- stopTimer(cnt, ii);
- }
- report("short = short / short");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- s1 /= 2;
- stopTimer(cnt, ii);
- }
- report("short /= 2");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- s1 >>= 1;
- stopTimer(cnt, ii);
- }
- report("short >>= 1");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- s1 >>= i2;
- stopTimer(cnt, ii);
- }
- report("short >>= int");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- s1 = (short) (s2 >> i3);
- stopTimer(cnt, ii);
- }
- report("short = short >> int");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- s1 |= s2;
- stopTimer(cnt, ii);
- }
- report("short |= short");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- s1 = (short) (s2 | s3);
- stopTimer(cnt, ii);
- }
- report("short = short | short");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- s1 &= s2;
- stopTimer(cnt, ii);
- }
- report("short &= short");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- s1 = (short) (s2 & s3);
- stopTimer(cnt, ii);
- }
- report("short = short & short");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- s1 ^= s2;
- stopTimer(cnt, ii);
- }
- report("short ^= short");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- s1 = (short) (s2 ^ s3);
- stopTimer(cnt, ii);
- }
- report("short = short ^ short");
-
-
- println("--- int operators, local vars");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- i1++;
- stopTimer(cnt, ii);
- }
- report("int++");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- i1 += i2;
- stopTimer(cnt, ii);
- }
- report("int += int");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- i1 = (i2 + i3);
- stopTimer(cnt, ii);
- }
- report("int = int + int");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- i1 *= i2;
- stopTimer(cnt, ii);
- }
- report("int *= int");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- i1 = (i2 * i3);
- stopTimer(cnt, ii);
- }
- report("int = int * int");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- i1 *= 2;
- stopTimer(cnt, ii);
- }
- report("int *= 2");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- i1 <<= 1;
- stopTimer(cnt, ii);
- }
- report("int <<= 1");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- i1 %= i2;
- stopTimer(cnt, ii);
- }
- report("int %= int");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- i1 = (i2 % i3);
- stopTimer(cnt, ii);
- }
- report("int = int % int");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- i1 /= i2;
- stopTimer(cnt, ii);
- }
- report("int /= int");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- i1 = (i2 / i3);
- stopTimer(cnt, ii);
- }
- report("int = int / int");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- i1 /= 2;
- stopTimer(cnt, ii);
- }
- report("int /= 2");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- i1 >>= 1;
- stopTimer(cnt, ii);
- }
- report("int >>= 1");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- i1 >>= i2;
- stopTimer(cnt, ii);
- }
- report("int >>= int");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- i1 = i2 >> i3;
- stopTimer(cnt, ii);
- }
- report("int = int >> int");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- i1 |= i2;
- stopTimer(cnt, ii);
- }
- report("int |= int");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- i1 = i2 | i3;
- stopTimer(cnt, ii);
- }
- report("int = int | int");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- i1 &= i2;
- stopTimer(cnt, ii);
- }
- report("int &= int");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- i1 = i2 & i3;
- stopTimer(cnt, ii);
- }
- report("int = int & int");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- i1 ^= i2;
- stopTimer(cnt, ii);
- }
- report("int ^= int");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- i1 = i2 ^ i3;
- stopTimer(cnt, ii);
- }
- report("int = int ^ int");
-
-
- println("--- long operators, local vars");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- l1++;
- stopTimer(cnt, ii);
- }
- report("long++");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- l1 += l2;
- stopTimer(cnt, ii);
- }
- report("long += long");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- l1 = (l2 + l3);
- stopTimer(cnt, ii);
- }
- report("long = long + long");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- l1 *= l2;
- stopTimer(cnt, ii);
- }
- report("long *= long");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- l1 = (l2 * l3);
- stopTimer(cnt, ii);
- }
- report("long = long * long");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- l1 *= 2;
- stopTimer(cnt, ii);
- }
- report("long *= 2");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- l1 <<= 1;
- stopTimer(cnt, ii);
- }
- report("long <<= 1");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- l1 %= l2;
- stopTimer(cnt, ii);
- }
- report("long %= long");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- l1 = (l2 % l3);
- stopTimer(cnt, ii);
- }
- report("long = long % long");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- l1 /= l2;
- stopTimer(cnt, ii);
- }
- report("long /= long");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- l1 = (l2 / l3);
- stopTimer(cnt, ii);
- }
- report("long = long / long");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- l1 /= 2;
- stopTimer(cnt, ii);
- }
- report("long /= 2");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- l1 >>= 1;
- stopTimer(cnt, ii);
- }
- report("long >>= 1");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- l1 >>= i2;
- stopTimer(cnt, ii);
- }
- report("long >>= int");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- l1 = l2 >> i3;
- stopTimer(cnt, ii);
- }
- report("long = long >> int");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- l1 |= l2;
- stopTimer(cnt, ii);
- }
- report("long |= long");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- l1 = l2 | l3;
- stopTimer(cnt, ii);
- }
- report("long = long | long");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- l1 &= l2;
- stopTimer(cnt, ii);
- }
- report("long &= long");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- l1 = l2 & l3;
- stopTimer(cnt, ii);
- }
- report("long = long & long");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- l1 ^= l2;
- stopTimer(cnt, ii);
- }
- report("long ^= long");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- l1 = l2 ^ l3;
- stopTimer(cnt, ii);
- }
- report("long = long ^ long");
-
-
- println("--- float operators, local vars");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- f1 += f2;
- stopTimer(cnt, ii);
- }
- report("float += float");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- f1 = (float) (f2 + f3);
- stopTimer(cnt, ii);
- }
- report("float = float + float");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- f1 *= f2;
- stopTimer(cnt, ii);
- }
- report("float *= float");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- f1 = (float) (f2 * f3);
- stopTimer(cnt, ii);
- }
- report("float = float * float");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- f1 %= f2;
- stopTimer(cnt, ii);
- }
- report("float %= float");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- f1 = (float) (f2 % f3);
- stopTimer(cnt, ii);
- }
- report("float = float % float");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- f1 /= f2;
- stopTimer(cnt, ii);
- }
- report("float /= float");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- f1 = (float) (f2 / f3);
- stopTimer(cnt, ii);
- }
- report("float = float / float");
-
-
- println("--- double operators, local vars");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- d1 += d2;
- stopTimer(cnt, ii);
- }
- report("double += double");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- d1 = (d2 + d3);
- stopTimer(cnt, ii);
- }
- report("double = double + double");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- d1 *= d2;
- stopTimer(cnt, ii);
- }
- report("double *= double");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- d1 = (d2 * d3);
- stopTimer(cnt, ii);
- }
- report("double = double * double");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- d1 %= d2;
- stopTimer(cnt, ii);
- }
- report("double %= double");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- d1 = (d2 % d3);
- stopTimer(cnt, ii);
- }
- report("double = double % double");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- d1 /= d2;
- stopTimer(cnt, ii);
- }
- report("double /= double");
-
- for (cnt = getSampleCount(); --cnt >= 0; ) {
- startTimer(true);
- for (ii = 0; go; ii++)
- d1 = (d2 / d3);
- stopTimer(cnt, ii);
- }
- report("double = double / double");
-
- useint[0] = dummy1; useint[1] = dummy2; useint[2] = dummy3;
- return finishTest();
- }
-} // class OperatorBenchmark
-
-// EOF
diff --git a/libjava/testsuite/libjava.compile/PR11600.java b/libjava/testsuite/libjava.compile/PR11600.java
deleted file mode 100644
index 3cffa73..0000000
--- a/libjava/testsuite/libjava.compile/PR11600.java
+++ /dev/null
@@ -1,7 +0,0 @@
-public class PR11600 implements Cloneable
-{
- public Object clone ()
- {
- return super.clone ();
- }
-}
diff --git a/libjava/testsuite/libjava.compile/PR11600.xfail b/libjava/testsuite/libjava.compile/PR11600.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/PR11600.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/PR12374.java b/libjava/testsuite/libjava.compile/PR12374.java
deleted file mode 100644
index 19e8193..0000000
--- a/libjava/testsuite/libjava.compile/PR12374.java
+++ /dev/null
@@ -1,27 +0,0 @@
-public class PR12374 {
-
- /* We weren't coping with field refs on a string constant... */
-
- Object Foo()
- {
- return "".CASE_INSENSITIVE_ORDER;
- }
-
- /* Special casing access to array.length while analysing syntax is
- evil. Especially when it means we can't cope with a type
- called length. */
-
- class length
- {
- static final int i = 2;
- }
-
- int bar()
- {
- return length.i;
- }
-
- public static void main (String[] argv)
- {
- }
-}
diff --git a/libjava/testsuite/libjava.compile/PR124.java b/libjava/testsuite/libjava.compile/PR124.java
deleted file mode 100644
index 2ec1fe9..0000000
--- a/libjava/testsuite/libjava.compile/PR124.java
+++ /dev/null
@@ -1,9 +0,0 @@
-import java.lang.reflect.*;
-
-public class PR124
-{
- public static void main (String[] args)
- {
- System.out.println (new InvocationTargetException ());
- }
-}
diff --git a/libjava/testsuite/libjava.compile/PR124.xfail b/libjava/testsuite/libjava.compile/PR124.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/PR124.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/PR127.java b/libjava/testsuite/libjava.compile/PR127.java
deleted file mode 100644
index 6a2e699..0000000
--- a/libjava/testsuite/libjava.compile/PR127.java
+++ /dev/null
@@ -1,11 +0,0 @@
-// Test case for PR127:
-// gcj dumps core on method invocation on a primitive type
-
-class PR127
-{
- void f()
- {
- int i;
- i.f();
- }
-}
diff --git a/libjava/testsuite/libjava.compile/PR127.xfail b/libjava/testsuite/libjava.compile/PR127.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/PR127.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/PR12857.java b/libjava/testsuite/libjava.compile/PR12857.java
deleted file mode 100644
index 9ed234f..0000000
--- a/libjava/testsuite/libjava.compile/PR12857.java
+++ /dev/null
@@ -1,4 +0,0 @@
-// Based on original test case from Yves Martin.
-interface PR12857 {
- static final String CONST = PR12857.class.getName();
-}
diff --git a/libjava/testsuite/libjava.compile/PR129_B.java b/libjava/testsuite/libjava.compile/PR129_B.java
deleted file mode 100644
index 238df99..0000000
--- a/libjava/testsuite/libjava.compile/PR129_B.java
+++ /dev/null
@@ -1,9 +0,0 @@
-import support.PR129_A;
-
-public class PR129_B {
- public static void main ( String[] args ) {
- int length = PR129_A.strArr.length;
- System.out.println ( "Array length: " + length );
- }
-}
-
diff --git a/libjava/testsuite/libjava.compile/PR129_B.no-link b/libjava/testsuite/libjava.compile/PR129_B.no-link
deleted file mode 100644
index e69cdec..0000000
--- a/libjava/testsuite/libjava.compile/PR129_B.no-link
+++ /dev/null
@@ -1 +0,0 @@
-Don't link me
diff --git a/libjava/testsuite/libjava.compile/PR13024.java b/libjava/testsuite/libjava.compile/PR13024.java
deleted file mode 100644
index 61ab17c..0000000
--- a/libjava/testsuite/libjava.compile/PR13024.java
+++ /dev/null
@@ -1,18 +0,0 @@
-import java.io.*;
-import java.util.zip.*;
-
-class PR13024 {
- void isZipOrJarArchive(File file) throws IOException {
- ZipFile zipFile = null;
-
- try {
- zipFile = new ZipFile(file);
- } finally {
- if (zipFile != null) {
- try {
- zipFile.close();
- } catch (IOException ignored) {}
- }
- }
- }
-}
diff --git a/libjava/testsuite/libjava.compile/PR13237.java b/libjava/testsuite/libjava.compile/PR13237.java
deleted file mode 100644
index 6333a46..0000000
--- a/libjava/testsuite/libjava.compile/PR13237.java
+++ /dev/null
@@ -1,3 +0,0 @@
-class PR13237 {
- double kappa = Math.sqrt(2.0);
-}
diff --git a/libjava/testsuite/libjava.compile/PR1343.java b/libjava/testsuite/libjava.compile/PR1343.java
deleted file mode 100644
index be35925..0000000
--- a/libjava/testsuite/libjava.compile/PR1343.java
+++ /dev/null
@@ -1,17 +0,0 @@
-import java.util.Vector;
-
-public class PR1343
-{
- void f(Object[] l)
- {
- class x1
- {
- };
- }
- void f(Vector l)
- {
- class x1
- {
- };
- }
-}
diff --git a/libjava/testsuite/libjava.compile/PR13733.java b/libjava/testsuite/libjava.compile/PR13733.java
deleted file mode 100644
index fb5cc82..0000000
--- a/libjava/testsuite/libjava.compile/PR13733.java
+++ /dev/null
@@ -1,10 +0,0 @@
-// 15.26: "The type of an assignment expression is the type of the variable"
-// (LHS).
-class PR13733 {
- String a, c = "";
- Object b;
-
- void bug() {
- a = (b = c); // invalid without cast
- }
-}
diff --git a/libjava/testsuite/libjava.compile/PR13733.xfail b/libjava/testsuite/libjava.compile/PR13733.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/PR13733.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/PR140.java b/libjava/testsuite/libjava.compile/PR140.java
deleted file mode 100644
index 0f59d6e..0000000
--- a/libjava/testsuite/libjava.compile/PR140.java
+++ /dev/null
@@ -1,13 +0,0 @@
-public class PR140 {
- public static void fill(int[] a) {
- for (int i = 0; i < a.length; i++) {
- a[i] = i;
- }
- }
- public static void main(String[] args) {
- int[] a = new int[3];
- fill(a);
- a.length = 3000;
- fill(a);
- }
-}
diff --git a/libjava/testsuite/libjava.compile/PR140.xfail b/libjava/testsuite/libjava.compile/PR140.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/PR140.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/PR14853.java b/libjava/testsuite/libjava.compile/PR14853.java
deleted file mode 100644
index a800c52..0000000
--- a/libjava/testsuite/libjava.compile/PR14853.java
+++ /dev/null
@@ -1,17 +0,0 @@
-class tt
-{
- static final tt tt1 = new tt();
- tt()
- {
- }
-}
-
-public class PR14853
-{
- public static void main (String[] args)
- {
- // This is an invalid assignment. gcj would get confused in
- // definite assignment when compiling to object code.
- tt.tt1 = new tt();
- }
-}
diff --git a/libjava/testsuite/libjava.compile/PR14853.xfail b/libjava/testsuite/libjava.compile/PR14853.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/PR14853.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/PR15769.java b/libjava/testsuite/libjava.compile/PR15769.java
deleted file mode 100644
index 8107626..0000000
--- a/libjava/testsuite/libjava.compile/PR15769.java
+++ /dev/null
@@ -1,10 +0,0 @@
-class PR15769 {
- private boolean foo () { return false; }
-
-
- public boolean bar (double blaz)
- {
- return (Double.POSITIVE_INFINITY != blaz) && foo ();
- }
-}
-
diff --git a/libjava/testsuite/libjava.compile/PR16249.java b/libjava/testsuite/libjava.compile/PR16249.java
deleted file mode 100644
index 5495dda..0000000
--- a/libjava/testsuite/libjava.compile/PR16249.java
+++ /dev/null
@@ -1,18 +0,0 @@
-// 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) {
- }
- }
- }
-}
diff --git a/libjava/testsuite/libjava.compile/PR163.java b/libjava/testsuite/libjava.compile/PR163.java
deleted file mode 100644
index 283c8ac..0000000
--- a/libjava/testsuite/libjava.compile/PR163.java
+++ /dev/null
@@ -1,8 +0,0 @@
-// Test case for the PR gcj/163
-
-// Uninitalized final variables should not be permitted.
-
-class PR163
-{
- final int foo;
-}
diff --git a/libjava/testsuite/libjava.compile/PR163.xfail b/libjava/testsuite/libjava.compile/PR163.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/PR163.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/PR164.java b/libjava/testsuite/libjava.compile/PR164.java
deleted file mode 100644
index d3a288f..0000000
--- a/libjava/testsuite/libjava.compile/PR164.java
+++ /dev/null
@@ -1,6 +0,0 @@
-// Test from PR 164.
-
-class PR164
-{
- volatile final int foo = 8;
-}
diff --git a/libjava/testsuite/libjava.compile/PR164.xfail b/libjava/testsuite/libjava.compile/PR164.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/PR164.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/PR16675.java b/libjava/testsuite/libjava.compile/PR16675.java
deleted file mode 100644
index 11e6d4b..0000000
--- a/libjava/testsuite/libjava.compile/PR16675.java
+++ /dev/null
@@ -1,13 +0,0 @@
-public class PR16675 {
- public PR16675(Object obj) { }
-
- public void someTestMethod() {
- // gcj crashed compiling this, as `null' had type `void*'.
- new PR16675(null) { };
- }
-
- public void someTestMethod2() {
- new PR16675((Object) null) { };
- }
-
-}
diff --git a/libjava/testsuite/libjava.compile/PR16701.java b/libjava/testsuite/libjava.compile/PR16701.java
deleted file mode 100644
index 60d459a..0000000
--- a/libjava/testsuite/libjava.compile/PR16701.java
+++ /dev/null
@@ -1,10 +0,0 @@
-class Cl
-{
- private static final int CONSTANT1 = 0x001;
- public static final int CONSTANT2 = 0x002 >> CONSTANT1;
-}
-
-public class PR16701
-{
- public static final int VALUE = Cl.CONSTANT2;
-}
diff --git a/libjava/testsuite/libjava.compile/PR19277.java b/libjava/testsuite/libjava.compile/PR19277.java
deleted file mode 100644
index 61ed0bf..0000000
--- a/libjava/testsuite/libjava.compile/PR19277.java
+++ /dev/null
@@ -1,7 +0,0 @@
-class PR19277
-{
- void snafu (int[] array)
- {
- array.length++;
- }
-}
diff --git a/libjava/testsuite/libjava.compile/PR19277.xfail b/libjava/testsuite/libjava.compile/PR19277.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/PR19277.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/PR19295.java b/libjava/testsuite/libjava.compile/PR19295.java
deleted file mode 100644
index 336f7e9..0000000
--- a/libjava/testsuite/libjava.compile/PR19295.java
+++ /dev/null
@@ -1,16 +0,0 @@
-public class PR19295 implements myInterface {
- public long tagBits = 0;
-
- public final boolean isArrayType() {
- return (tagBits & IsArrayType) != 0;
- }
-}
-
-abstract class blah {
- public final static int Bit1 = 0x2;
-}
-
-interface myInterface {
- long IsArrayType = blah.Bit1;
-}
-
diff --git a/libjava/testsuite/libjava.compile/PR19674.java b/libjava/testsuite/libjava.compile/PR19674.java
deleted file mode 100644
index 2c23895b..0000000
--- a/libjava/testsuite/libjava.compile/PR19674.java
+++ /dev/null
@@ -1,7 +0,0 @@
-public interface PR19674
-{
- public interface Inside
- {
- void m(int p, int p2);
- };
-}
diff --git a/libjava/testsuite/libjava.compile/PR20312.java b/libjava/testsuite/libjava.compile/PR20312.java
deleted file mode 100644
index 463172b..0000000
--- a/libjava/testsuite/libjava.compile/PR20312.java
+++ /dev/null
@@ -1,8 +0,0 @@
-/* Can't throw what the overridden method doesn't. */
-public class PR20312
-{
- public String toString( ) throws java.io.IOException
- {
- return "SNAFU";
- }
-}
diff --git a/libjava/testsuite/libjava.compile/PR20312.xfail b/libjava/testsuite/libjava.compile/PR20312.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/PR20312.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/PR20418.java b/libjava/testsuite/libjava.compile/PR20418.java
deleted file mode 100644
index 003f3cd..0000000
--- a/libjava/testsuite/libjava.compile/PR20418.java
+++ /dev/null
@@ -1,7 +0,0 @@
-public class PR20418
-{
- public static void main( String[] args)
- {
- java.io.File = new java.io.File( "junk");
- }
-}
diff --git a/libjava/testsuite/libjava.compile/PR20418.xfail b/libjava/testsuite/libjava.compile/PR20418.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/PR20418.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/PR206.java b/libjava/testsuite/libjava.compile/PR206.java
deleted file mode 100644
index 0183912..0000000
--- a/libjava/testsuite/libjava.compile/PR206.java
+++ /dev/null
@@ -1,7 +0,0 @@
-class PR206 {
-
- PR206 (String s)
- {
- support.PR206_A x;
- }
-}
diff --git a/libjava/testsuite/libjava.compile/PR20697.java b/libjava/testsuite/libjava.compile/PR20697.java
deleted file mode 100644
index 56efb1d..0000000
--- a/libjava/testsuite/libjava.compile/PR20697.java
+++ /dev/null
@@ -1,29 +0,0 @@
-public class PR20697
-{
- public interface I
- {
- public void m();
- }
-
- public static class A2 implements I
- {
- public void m()
- {
- return;
- }
- }
-
-}
-
-class Test extends PR20697.A2
-{
- public void m()
- {
- return;
- }
-
- public void n()
- {
- m();
- }
-}
diff --git a/libjava/testsuite/libjava.compile/PR207.java b/libjava/testsuite/libjava.compile/PR207.java
deleted file mode 100644
index 97b10f0..0000000
--- a/libjava/testsuite/libjava.compile/PR207.java
+++ /dev/null
@@ -1,6 +0,0 @@
-class PR207 {
- PR207 (String s)
- {
- System.out.println (s + support.PR207_A.hello());
- }
-}
diff --git a/libjava/testsuite/libjava.compile/PR207.xfail b/libjava/testsuite/libjava.compile/PR207.xfail
deleted file mode 100644
index 76540af..0000000
--- a/libjava/testsuite/libjava.compile/PR207.xfail
+++ /dev/null
@@ -1 +0,0 @@
-no-link
diff --git a/libjava/testsuite/libjava.compile/PR208.java b/libjava/testsuite/libjava.compile/PR208.java
deleted file mode 100644
index 0b5f537..0000000
--- a/libjava/testsuite/libjava.compile/PR208.java
+++ /dev/null
@@ -1,16 +0,0 @@
-public class PR208
-{
- public String toString ()
- {
- StringBuffer sb = new StringBuffer("");
-
- sb.append (new java.util.Date().getTime() / 1000);
-
- try {
- }
- catch (java.io.IOException e) {
- }
-
- return sb.toString();
- }
-}
diff --git a/libjava/testsuite/libjava.compile/PR208.xfail b/libjava/testsuite/libjava.compile/PR208.xfail
deleted file mode 100644
index 76540af..0000000
--- a/libjava/testsuite/libjava.compile/PR208.xfail
+++ /dev/null
@@ -1 +0,0 @@
-no-link
diff --git a/libjava/testsuite/libjava.compile/PR209.java b/libjava/testsuite/libjava.compile/PR209.java
deleted file mode 100644
index d4539c6..0000000
--- a/libjava/testsuite/libjava.compile/PR209.java
+++ /dev/null
@@ -1,4 +0,0 @@
-public class PR209
-{
- public int i = java.sql.Types.TINYINT;
-}
diff --git a/libjava/testsuite/libjava.compile/PR21045.java b/libjava/testsuite/libjava.compile/PR21045.java
deleted file mode 100644
index 3d34ee1..0000000
--- a/libjava/testsuite/libjava.compile/PR21045.java
+++ /dev/null
@@ -1,11 +0,0 @@
-public class PR21045
-{
- class InnerBase {
- InnerBase() throws Exception, NullPointerException {}
- }
- void method() {
- try {
- InnerBase obj = new InnerBase() {};
- } catch (Exception e) {}
- }
-}
diff --git a/libjava/testsuite/libjava.compile/PR224.java b/libjava/testsuite/libjava.compile/PR224.java
deleted file mode 100644
index eae4032..0000000
--- a/libjava/testsuite/libjava.compile/PR224.java
+++ /dev/null
@@ -1,16 +0,0 @@
-// File PrivateInnerInterface.java
-
-public class PR224 {
- private interface Inter {}
-}
-
-
-class PrivateInnerInterface_Test extends PR224 {
- void foo() {
- // Implement the interface with an innerclass
- Inter i = new Inter() { } ;
- }
-}
-
-// This should fail to compile because Inter is private in the superclass
-
diff --git a/libjava/testsuite/libjava.compile/PR224.xfail b/libjava/testsuite/libjava.compile/PR224.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/PR224.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/PR232.java b/libjava/testsuite/libjava.compile/PR232.java
deleted file mode 100644
index 516b0ed..0000000
--- a/libjava/testsuite/libjava.compile/PR232.java
+++ /dev/null
@@ -1,16 +0,0 @@
-// Use of a "static final String" as a monitor causes ICE
-// in jc1 (20000520)
-//
-// Program received signal SIGSEGV, Segmentation fault.
-// put_decl_node (node=0x0) at ../../../gcc/java/lang.c:413
-// 413 if (TREE_CODE (node) == POINTER_TYPE)
-
-class PR232
-{
- static final String lock= "LOCK";
-
- void a()
- {
- synchronized(lock) {}
- }
-};
diff --git a/libjava/testsuite/libjava.compile/PR232B.java b/libjava/testsuite/libjava.compile/PR232B.java
deleted file mode 100644
index 0c12653..0000000
--- a/libjava/testsuite/libjava.compile/PR232B.java
+++ /dev/null
@@ -1,15 +0,0 @@
-// This triggers a failure when compiling from bytecode (only) with 20000519
-
-public class PR232B
-{
- private static Object lock = new Object();
- private static PR232B instance = null;
-
- public void a()
- {
- synchronized(lock)
- {
- instance = new PR232B();
- }
- }
-};
diff --git a/libjava/testsuite/libjava.compile/PR234.java b/libjava/testsuite/libjava.compile/PR234.java
deleted file mode 100644
index 61a1158..0000000
--- a/libjava/testsuite/libjava.compile/PR234.java
+++ /dev/null
@@ -1,24 +0,0 @@
-// PR234.java
-public class PR234 extends B implements I
-{
- public static void main(String args[])
- {
- PR234 x = new PR234();
- x.m();
- }
-}
-
-// B.java
-class B
-{
- public void m()
- {
- System.out.println ("yes");
- }
-}
-
-// I.java
-interface I
-{
- public void m();
-}
diff --git a/libjava/testsuite/libjava.compile/PR23431_1.java b/libjava/testsuite/libjava.compile/PR23431_1.java
deleted file mode 100644
index 79d20ba..0000000
--- a/libjava/testsuite/libjava.compile/PR23431_1.java
+++ /dev/null
@@ -1,9 +0,0 @@
-abstract class Foo
-{
- public abstract void bar( );
-}
-
-class PR23431_1 extends Foo
-{
- private void bar( ) { }
-}
diff --git a/libjava/testsuite/libjava.compile/PR23431_1.xfail b/libjava/testsuite/libjava.compile/PR23431_1.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/PR23431_1.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/PR23431_2.java b/libjava/testsuite/libjava.compile/PR23431_2.java
deleted file mode 100644
index 3f696ff..0000000
--- a/libjava/testsuite/libjava.compile/PR23431_2.java
+++ /dev/null
@@ -1,9 +0,0 @@
-interface Foo
-{
- public void bar( );
-}
-
-class PR23431_2 implements Foo
-{
- private void bar( ) { }
-}
diff --git a/libjava/testsuite/libjava.compile/PR23431_2.xfail b/libjava/testsuite/libjava.compile/PR23431_2.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/PR23431_2.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/PR235.java b/libjava/testsuite/libjava.compile/PR235.java
deleted file mode 100644
index 46a727b..0000000
--- a/libjava/testsuite/libjava.compile/PR235.java
+++ /dev/null
@@ -1,7 +0,0 @@
-public class PR235
-{
- public static Class[] ConstructArgs =
- {
- Integer.TYPE
- };
-}
diff --git a/libjava/testsuite/libjava.compile/PR238.java b/libjava/testsuite/libjava.compile/PR238.java
deleted file mode 100644
index b876524..0000000
--- a/libjava/testsuite/libjava.compile/PR238.java
+++ /dev/null
@@ -1,9 +0,0 @@
-public class PR238
-{
- void foo(A a)
- {
- a.toString();
- }
-
- class A {}
-}
diff --git a/libjava/testsuite/libjava.compile/PR238.xfail b/libjava/testsuite/libjava.compile/PR238.xfail
deleted file mode 100644
index 76540af..0000000
--- a/libjava/testsuite/libjava.compile/PR238.xfail
+++ /dev/null
@@ -1 +0,0 @@
-no-link
diff --git a/libjava/testsuite/libjava.compile/PR295.java b/libjava/testsuite/libjava.compile/PR295.java
deleted file mode 100644
index d884a26..0000000
--- a/libjava/testsuite/libjava.compile/PR295.java
+++ /dev/null
@@ -1,11 +0,0 @@
-public class PR295 {
- public class csemi {
- };
-
- public int foo;
-
- public interface isemi {
- };
-
- public int bar;
-}
diff --git a/libjava/testsuite/libjava.compile/PR310.java b/libjava/testsuite/libjava.compile/PR310.java
deleted file mode 100644
index a77f6a8..0000000
--- a/libjava/testsuite/libjava.compile/PR310.java
+++ /dev/null
@@ -1,9 +0,0 @@
-public class PR310
-{
- void m (long l)
- {
- switch (l)
- {
- }
- }
-}
diff --git a/libjava/testsuite/libjava.compile/PR310.xfail b/libjava/testsuite/libjava.compile/PR310.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/PR310.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/PR3417.java b/libjava/testsuite/libjava.compile/PR3417.java
deleted file mode 100644
index e5f251a..0000000
--- a/libjava/testsuite/libjava.compile/PR3417.java
+++ /dev/null
@@ -1,6 +0,0 @@
-// Make sure that assignment conversion checks are done for `return'.
-
-class PR3417
-{
- char func (int i) { return i; }
-}
diff --git a/libjava/testsuite/libjava.compile/PR3417.xfail b/libjava/testsuite/libjava.compile/PR3417.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/PR3417.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/PR374.java b/libjava/testsuite/libjava.compile/PR374.java
deleted file mode 100644
index e96ab5f..0000000
--- a/libjava/testsuite/libjava.compile/PR374.java
+++ /dev/null
@@ -1,9 +0,0 @@
-public class PR374
-{
- Object a, b[], c[];
-
- public void foo ()
- {
- c = new Object[10];
- }
-}
diff --git a/libjava/testsuite/libjava.compile/PR375.java b/libjava/testsuite/libjava.compile/PR375.java
deleted file mode 100644
index 26dba04..0000000
--- a/libjava/testsuite/libjava.compile/PR375.java
+++ /dev/null
@@ -1,7 +0,0 @@
-public class PR375
-{
- public void foo ()
- {
- (Boolean.TRUE).booleanValue ();
- }
-}
diff --git a/libjava/testsuite/libjava.compile/PR4766.java b/libjava/testsuite/libjava.compile/PR4766.java
deleted file mode 100644
index 840f669..0000000
--- a/libjava/testsuite/libjava.compile/PR4766.java
+++ /dev/null
@@ -1,25 +0,0 @@
-// Test that bytecode generation works even when `finally' clause
-// doesn't return normally.
-
-public class PR4766
-{
- public static int myfunction()
- {
- try
- {
- System.out.println ("hi");
- }
- catch( Exception e )
- {
- e.printStackTrace();
- }
- finally
- {
- return 0;
- }
- }
-
- public static void main (String[] args)
- {
- }
-}
diff --git a/libjava/testsuite/libjava.compile/PR5641.java b/libjava/testsuite/libjava.compile/PR5641.java
deleted file mode 100644
index 8c7d3aa..0000000
--- a/libjava/testsuite/libjava.compile/PR5641.java
+++ /dev/null
@@ -1,20 +0,0 @@
-interface I
-{
- void m();
-}
-abstract class C implements I {}
-class Foo
-{
- void Bar(C c)
- {
- c.m();
- }
- void blah(C c)
- {
- c.m();
- }
-
- public static void main (String[] args)
- {
- }
-}
diff --git a/libjava/testsuite/libjava.compile/PR5641.xfail b/libjava/testsuite/libjava.compile/PR5641.xfail
deleted file mode 100644
index 76540af..0000000
--- a/libjava/testsuite/libjava.compile/PR5641.xfail
+++ /dev/null
@@ -1 +0,0 @@
-no-link
diff --git a/libjava/testsuite/libjava.compile/PR5848.java b/libjava/testsuite/libjava.compile/PR5848.java
deleted file mode 100644
index a1270ff..0000000
--- a/libjava/testsuite/libjava.compile/PR5848.java
+++ /dev/null
@@ -1,14 +0,0 @@
-import java.util.Vector;
-import java.util.Enumeration;
-
-public class PR5848
-{
- private Vector data;
- void sub()
- {
- long sz = 0;
- for (Enumeration e = data.elements() ; e.hasMoreElements() ;) {
- sz =+ ((byte[])e.nextElement()).length;
- }
- }
-}
diff --git a/libjava/testsuite/libjava.compile/PR5848.xfail b/libjava/testsuite/libjava.compile/PR5848.xfail
deleted file mode 100644
index 76540af..0000000
--- a/libjava/testsuite/libjava.compile/PR5848.xfail
+++ /dev/null
@@ -1 +0,0 @@
-no-link
diff --git a/libjava/testsuite/libjava.compile/PR5902.java b/libjava/testsuite/libjava.compile/PR5902.java
deleted file mode 100644
index 1a78a26..0000000
--- a/libjava/testsuite/libjava.compile/PR5902.java
+++ /dev/null
@@ -1,4 +0,0 @@
-class PR5902
-{
- double d = 019f;
-}
diff --git a/libjava/testsuite/libjava.compile/PR5913.java b/libjava/testsuite/libjava.compile/PR5913.java
deleted file mode 100644
index 4c0c74d..0000000
--- a/libjava/testsuite/libjava.compile/PR5913.java
+++ /dev/null
@@ -1,6 +0,0 @@
-class PR5913
-{
- boolean test1 = ("" + 1) instanceof String;
- // This also tests literal parsing, as mentioned in PR 5902.
- boolean test2 = "" + 0x1instanceof String;
-}
diff --git a/libjava/testsuite/libjava.compile/PR6026.java b/libjava/testsuite/libjava.compile/PR6026.java
deleted file mode 100644
index 14a4a36..0000000
--- a/libjava/testsuite/libjava.compile/PR6026.java
+++ /dev/null
@@ -1,4 +0,0 @@
-class PR6026
-{
- double d = 0.4e1+0.8;
-}
diff --git a/libjava/testsuite/libjava.compile/PR6865.java b/libjava/testsuite/libjava.compile/PR6865.java
deleted file mode 100644
index ddcc0e6..0000000
--- a/libjava/testsuite/libjava.compile/PR6865.java
+++ /dev/null
@@ -1,5 +0,0 @@
-// gcj crashes on this
-public class PR6865
-{
- private foo;
-}
diff --git a/libjava/testsuite/libjava.compile/PR6865.xfail b/libjava/testsuite/libjava.compile/PR6865.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/PR6865.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/Semi.java b/libjava/testsuite/libjava.compile/Semi.java
deleted file mode 100644
index 39b3edc..0000000
--- a/libjava/testsuite/libjava.compile/Semi.java
+++ /dev/null
@@ -1,8 +0,0 @@
-// Simple compiler test.
-
-public class Semi
-{
- Semi () { };
-}
-
-
diff --git a/libjava/testsuite/libjava.compile/Statics.java b/libjava/testsuite/libjava.compile/Statics.java
deleted file mode 100644
index b86a57c..0000000
--- a/libjava/testsuite/libjava.compile/Statics.java
+++ /dev/null
@@ -1,7 +0,0 @@
-// Simple compiler test.
-
-public interface Statics {
-
- public static final int OwnerGrabButtonMask = 1<<24;
-
-}
diff --git a/libjava/testsuite/libjava.compile/SuperConstr.java b/libjava/testsuite/libjava.compile/SuperConstr.java
deleted file mode 100644
index eef5050..0000000
--- a/libjava/testsuite/libjava.compile/SuperConstr.java
+++ /dev/null
@@ -1,20 +0,0 @@
-// It is legal to reference "this" from an enclosing type, or an instance
-// field from an enclosing type, in a super constructor call.
-
-public class SuperConstr
-{
- SuperConstr (Object x, Outer y) {}
-}
-
-class Outer
-{
- Object x;
-
- class Sub extends SuperConstr
- {
- Sub()
- {
- super(x, Outer.this);
- }
- }
-}
diff --git a/libjava/testsuite/libjava.compile/T20020529.java b/libjava/testsuite/libjava.compile/T20020529.java
deleted file mode 100644
index 19f1ea8..0000000
--- a/libjava/testsuite/libjava.compile/T20020529.java
+++ /dev/null
@@ -1,23 +0,0 @@
-public class T20020529
-{
- public void checkXMLLangAttributeValue(String lang)
- {
- int offset = -1;
- if (lang.length() >= 2) {
- char ch0 = lang.charAt(0);
- }
- if (offset > 0) {
- char ch = lang.charAt(offset++);
- if (ch != '-') {
- offset = -1;
- } else {
- while (true)
- {
- if (ch == '-')
- ch = lang.charAt(offset++);
- ch = lang.charAt(offset++);
- }
- }
- }
- }
-}
diff --git a/libjava/testsuite/libjava.compile/T20020604.java b/libjava/testsuite/libjava.compile/T20020604.java
deleted file mode 100644
index fba68c2..0000000
--- a/libjava/testsuite/libjava.compile/T20020604.java
+++ /dev/null
@@ -1,17 +0,0 @@
-// Regression test for gcj crash, when compiled with -O2 on
-// i686-pc-linux-gnu.
-public class T20020604
-{
- static double d2 = 0.0;
-
- static Object lockObject = new Object();
-
- public static double f(double d1) {
-
- synchronized (lockObject){
- d2 = Math.max(d1, d2);
- }
-
- return d2;
- }
-}
diff --git a/libjava/testsuite/libjava.compile/Twice.java b/libjava/testsuite/libjava.compile/Twice.java
deleted file mode 100644
index d80760f..0000000
--- a/libjava/testsuite/libjava.compile/Twice.java
+++ /dev/null
@@ -1,14 +0,0 @@
-// Simple compiler test.
-
-public class Twice
-{
- Twice (boolean q)
- {
- if (q)
- for (int p = 0; p < 10; p++);
- else
- for (int p = 0; p < 10; p++);
- }
-}
-
-
diff --git a/libjava/testsuite/libjava.compile/Where.java b/libjava/testsuite/libjava.compile/Where.java
deleted file mode 100644
index 08fcc78..0000000
--- a/libjava/testsuite/libjava.compile/Where.java
+++ /dev/null
@@ -1,12 +0,0 @@
-// Simple compiler test.
-
-public final class Where implements support.Waldo
-{
- int WhereIsWaldo ()
- {
- // The compiler should find 'here' in support.Waldo.
- return here;
- }
-}
-
-
diff --git a/libjava/testsuite/libjava.compile/Where.xfail b/libjava/testsuite/libjava.compile/Where.xfail
deleted file mode 100644
index 755ab87..0000000
--- a/libjava/testsuite/libjava.compile/Where.xfail
+++ /dev/null
@@ -1 +0,0 @@
-xfail-gcj
diff --git a/libjava/testsuite/libjava.compile/XercesBug.java b/libjava/testsuite/libjava.compile/XercesBug.java
deleted file mode 100644
index 9184d00..0000000
--- a/libjava/testsuite/libjava.compile/XercesBug.java
+++ /dev/null
@@ -1,13 +0,0 @@
-// This is java/4007
-public final class XercesBug
-{
- static final class OrderedHashtable
- {
- private Entry[] fEntries = null;
- public static final class Entry
- {
- int x;
- }
-
- }
-}
diff --git a/libjava/testsuite/libjava.compile/abstr.java b/libjava/testsuite/libjava.compile/abstr.java
deleted file mode 100644
index f59db26..0000000
--- a/libjava/testsuite/libjava.compile/abstr.java
+++ /dev/null
@@ -1,14 +0,0 @@
-// This fails to compile from bytecode for some versions of the compiler.
-
-interface foo
-{
- public void start ();
-}
-
-public abstract class abstr implements foo
-{
- public void doit ()
- {
- start ();
- }
-}
diff --git a/libjava/testsuite/libjava.compile/abstr.xfail b/libjava/testsuite/libjava.compile/abstr.xfail
deleted file mode 100644
index 76540af..0000000
--- a/libjava/testsuite/libjava.compile/abstr.xfail
+++ /dev/null
@@ -1 +0,0 @@
-no-link
diff --git a/libjava/testsuite/libjava.compile/assignment.java b/libjava/testsuite/libjava.compile/assignment.java
deleted file mode 100644
index ec05f73..0000000
--- a/libjava/testsuite/libjava.compile/assignment.java
+++ /dev/null
@@ -1,19 +0,0 @@
-// A definite assignment test.
-
-public class assignment
-{
- public static Byte foo ()
- {
- Byte b;
-
- while (true) {
- try {
- b = Byte.decode ("42");
- break;
- } catch (NumberFormatException ignored) {}
- }
-
- return b;
- }
-}
-
diff --git a/libjava/testsuite/libjava.compile/assignment_2.java b/libjava/testsuite/libjava.compile/assignment_2.java
deleted file mode 100644
index 38b58db..0000000
--- a/libjava/testsuite/libjava.compile/assignment_2.java
+++ /dev/null
@@ -1,32 +0,0 @@
-
-/**
- * assignment_2.java
- *
- *
- * Created: Thu Apr 13 16:48:40 2000
- *
- * @author Oliver Brandt
- * @version
- */
-
-public class assignment_2 {
- public assignment_2 ()
- {
- }
-
- public int foo ()
- {
- int result;
-
- try
- {
- result = 0;
- }
- finally
- {
- }
- return result;
-
- }
-
-}// test
diff --git a/libjava/testsuite/libjava.compile/block.java b/libjava/testsuite/libjava.compile/block.java
deleted file mode 100644
index 6bf99b1..0000000
--- a/libjava/testsuite/libjava.compile/block.java
+++ /dev/null
@@ -1,14 +0,0 @@
-// Class block
-// Generated on Thu Apr 20 15:03:23 PDT 2000
-// It is illegal to use modifiers for in-block (local) classes
-
-class block {
- public void foo ()
- {
- public class xxx {}
- }
- public static void main (String[] arg)
- {
- System.out.println ("Testing class `block'...");
- }
-}
diff --git a/libjava/testsuite/libjava.compile/block.xfail b/libjava/testsuite/libjava.compile/block.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/block.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/comment.java b/libjava/testsuite/libjava.compile/comment.java
deleted file mode 100644
index ebc5a97..0000000
--- a/libjava/testsuite/libjava.compile/comment.java
+++ /dev/null
@@ -1,7 +0,0 @@
-public class comment
-{
- /***
- // This is supposed to be a comment.
- */
-}
-
diff --git a/libjava/testsuite/libjava.compile/compile.exp b/libjava/testsuite/libjava.compile/compile.exp
deleted file mode 100644
index 9eba0d4..0000000
--- a/libjava/testsuite/libjava.compile/compile.exp
+++ /dev/null
@@ -1,20 +0,0 @@
-global srcdir subdir
-
-catch { lsort [glob -nocomplain ${srcdir}/${subdir}/*.java] } srcfiles
-verbose "srcfiles are $srcfiles"
-
-set prefix ""
-foreach x $srcfiles {
- set args [libjava_read_xfail [file rootname $x].xfail]
- if {[file exists [file rootname $x].no-link]} {
- lappend args no-link
- }
- lappend args no-exec
-
- test_libjava "" "$x" "" "" "" $args
- test_libjava "" "$x" "-O3" "" "" $args
-}
-
-# Local Variables:
-# tcl-indent-level:4
-# End:
diff --git a/libjava/testsuite/libjava.compile/consthrow.java b/libjava/testsuite/libjava.compile/consthrow.java
deleted file mode 100644
index 02d1afc..0000000
--- a/libjava/testsuite/libjava.compile/consthrow.java
+++ /dev/null
@@ -1,6 +0,0 @@
-public class consthrow
-{
- public consthrow () throws Object
- {
- }
-}
diff --git a/libjava/testsuite/libjava.compile/consthrow.xfail b/libjava/testsuite/libjava.compile/consthrow.xfail
deleted file mode 100644
index f34b59d..0000000
--- a/libjava/testsuite/libjava.compile/consthrow.xfail
+++ /dev/null
@@ -1,2 +0,0 @@
-no-link
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/final_assignment_check.java b/libjava/testsuite/libjava.compile/final_assignment_check.java
deleted file mode 100644
index 418fd91..0000000
--- a/libjava/testsuite/libjava.compile/final_assignment_check.java
+++ /dev/null
@@ -1,12 +0,0 @@
-class f {
- final static char c = 3;
- final static byte b = 0.1;
- final static short s = 3.5f;
- final static int i = 4L;
- final static long x = 2.5;
- final static float y = 2.6;
- final static String S = new Object ();
- void foo () {
- final int i = 2.1;
- }
-}
diff --git a/libjava/testsuite/libjava.compile/final_assignment_check.xfail b/libjava/testsuite/libjava.compile/final_assignment_check.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/final_assignment_check.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/final_initialization_in_ctor.java b/libjava/testsuite/libjava.compile/final_initialization_in_ctor.java
deleted file mode 100644
index 8ea56a2..0000000
--- a/libjava/testsuite/libjava.compile/final_initialization_in_ctor.java
+++ /dev/null
@@ -1,21 +0,0 @@
-// This test case was insipred by
-// http://gcc.gnu.org/ml/java/2001-09/msg00181.html
-
-class M {
- int size () { return 3; }
-}
-
-class final_initialization_in_ctor {
-
- final float loadFactor;
-
- public final_initialization_in_ctor(M m)
- {
- this(Math.max(m.size() * 2, 30), (float)40.0);
- }
-
- public final_initialization_in_ctor(int initialCapacity, float loadFactor)
- {
- this.loadFactor = loadFactor;
- }
-}
diff --git a/libjava/testsuite/libjava.compile/final_local_switch.java b/libjava/testsuite/libjava.compile/final_local_switch.java
deleted file mode 100644
index c4a4de6..0000000
--- a/libjava/testsuite/libjava.compile/final_local_switch.java
+++ /dev/null
@@ -1,16 +0,0 @@
-// This bug was discovered while working on java/1413 (compiling freetds.)
-// http://gcc.gnu.org/ml/java-prs/2000-q4/msg00156.html
-// The following code should build.
-
-class final_local_switch {
- void foo (int type) {
- final byte CHARSET_CHANGE = (byte)3;
- final byte CHARSET_CHANGES = (byte)4;
- switch (type) {
- case CHARSET_CHANGE:
- break;
- case CHARSET_CHANGES:
- break;
- }
- }
-}
diff --git a/libjava/testsuite/libjava.compile/iface.java b/libjava/testsuite/libjava.compile/iface.java
deleted file mode 100644
index 6a57fcf..0000000
--- a/libjava/testsuite/libjava.compile/iface.java
+++ /dev/null
@@ -1,24 +0,0 @@
-// Test for searching through interface extension.
-
-interface basei
-{
- public int method ();
-}
-
-interface basei2
-{
- public int confuse ();
-}
-
-interface derivedi extends basei, basei2
-{
- public void nothing ();
-}
-
-public class iface
-{
- public int try_it (derivedi x)
- {
- return x.method ();
- }
-}
diff --git a/libjava/testsuite/libjava.compile/inner_1.java b/libjava/testsuite/libjava.compile/inner_1.java
deleted file mode 100644
index d9a0210..0000000
--- a/libjava/testsuite/libjava.compile/inner_1.java
+++ /dev/null
@@ -1,36 +0,0 @@
-// inner class regression test.
-
-package bar.foo;
-
-class other {
- class foo {}
-}
-
-class inner_1 {
- static void bar () {
- inner_1 xxxx; // Refers to inner_1
- bar.foo.another xyz; // Refers to non inner another
- bar.foo.other.foo X; // OK to declare, inner class foo
- bar.foo.inner_1.t bar; // Inner class t
- inner_1.t foo; // Inner class t
- t foobar; // Inner class t
- other.foo zag; // Valid for declaration.
- t.ungah x;
- }
- void foo () {
- // z.t.u foo;
- t t1 = new t();
- t1.print ();
- new t().print();
- }
-
- class t {
- void print () {
- System.out.println ("This is `inner_1.t'");
- }
- class ungah {}
- }
-}
-
-class another {
-}
diff --git a/libjava/testsuite/libjava.compile/inner_1.xfail b/libjava/testsuite/libjava.compile/inner_1.xfail
deleted file mode 100644
index 755ab87..0000000
--- a/libjava/testsuite/libjava.compile/inner_1.xfail
+++ /dev/null
@@ -1 +0,0 @@
-xfail-gcj
diff --git a/libjava/testsuite/libjava.compile/inner_data.java b/libjava/testsuite/libjava.compile/inner_data.java
deleted file mode 100644
index 0bb35e89..0000000
--- a/libjava/testsuite/libjava.compile/inner_data.java
+++ /dev/null
@@ -1,18 +0,0 @@
-// Test referencing protected data from parent of inner class.
-
-import java.util.Random;
-
-public class inner_data
-{
- private class Randomer extends Super {
- public long xxx ()
- {
- return seed;
- }
- }
-}
-
-class Super
-{
- protected long seed;
-}
diff --git a/libjava/testsuite/libjava.compile/inner_inherit.java b/libjava/testsuite/libjava.compile/inner_inherit.java
deleted file mode 100644
index 44ad6a9..0000000
--- a/libjava/testsuite/libjava.compile/inner_inherit.java
+++ /dev/null
@@ -1,14 +0,0 @@
-// Test to insure that we can refer to methods inherited through an
-// inner class.
-
-public class inner_inherit
-{
- private class Agent extends Thread {
- }
-
- public void f ()
- {
- Agent a = new Agent();
- a.setDaemon(true);
- }
-}
diff --git a/libjava/testsuite/libjava.compile/inner_priv.java b/libjava/testsuite/libjava.compile/inner_priv.java
deleted file mode 100644
index 0601c68..0000000
--- a/libjava/testsuite/libjava.compile/inner_priv.java
+++ /dev/null
@@ -1,11 +0,0 @@
-// Test to ensure that private inner classes are ok.
-
-public class inner_priv
-{
- private class K
- {
- int z;
- }
-
- K foo;
-}
diff --git a/libjava/testsuite/libjava.compile/inner_pub.java b/libjava/testsuite/libjava.compile/inner_pub.java
deleted file mode 100644
index 616488f..0000000
--- a/libjava/testsuite/libjava.compile/inner_pub.java
+++ /dev/null
@@ -1,11 +0,0 @@
-// Test to ensure that public inner classes work.
-
-public class inner_pub
-{
- public class really_inner
- {
- int z;
- }
-
- really_inner foo;
-}
diff --git a/libjava/testsuite/libjava.compile/invokeinterface/A.java b/libjava/testsuite/libjava.compile/invokeinterface/A.java
deleted file mode 100644
index a4167cd..0000000
--- a/libjava/testsuite/libjava.compile/invokeinterface/A.java
+++ /dev/null
@@ -1,4 +0,0 @@
-public interface A
-{
- public void a();
-}
diff --git a/libjava/testsuite/libjava.compile/invokeinterface/B.java b/libjava/testsuite/libjava.compile/invokeinterface/B.java
deleted file mode 100644
index 3661e09..0000000
--- a/libjava/testsuite/libjava.compile/invokeinterface/B.java
+++ /dev/null
@@ -1,4 +0,0 @@
-public interface B extends A
-{
- public void b();
-}
diff --git a/libjava/testsuite/libjava.compile/invokeinterface/Test.java b/libjava/testsuite/libjava.compile/invokeinterface/Test.java
deleted file mode 100644
index 2fb793f..0000000
--- a/libjava/testsuite/libjava.compile/invokeinterface/Test.java
+++ /dev/null
@@ -1,19 +0,0 @@
-public class Test implements B
-{
- public static void main(String args[])
- {
- Test t = new Test();
- B a = (B) t;
- a.a();
- }
-
- public void a()
- {
- System.out.println("A");
- }
-
- public void b()
- {
- System.out.println("B");
- }
-}
diff --git a/libjava/testsuite/libjava.compile/narrow_case.java b/libjava/testsuite/libjava.compile/narrow_case.java
deleted file mode 100644
index 48b5682..0000000
--- a/libjava/testsuite/libjava.compile/narrow_case.java
+++ /dev/null
@@ -1,11 +0,0 @@
-public class narrow_case
-{
- private int test(byte b)
- {
- switch (b)
- {
- case '0' :return 0;
- }
- return 99;
- }
-}
diff --git a/libjava/testsuite/libjava.compile/not_a_redef.java b/libjava/testsuite/libjava.compile/not_a_redef.java
deleted file mode 100644
index 7a2f55c..0000000
--- a/libjava/testsuite/libjava.compile/not_a_redef.java
+++ /dev/null
@@ -1,6 +0,0 @@
-package bar.foo;
-// This is not a redef.
-
-class not_a_redef {
- class baz { class bar { class foo {}} class foo {}}
-}
diff --git a/libjava/testsuite/libjava.compile/not_a_redef.xfail b/libjava/testsuite/libjava.compile/not_a_redef.xfail
deleted file mode 100644
index 76540af..0000000
--- a/libjava/testsuite/libjava.compile/not_a_redef.xfail
+++ /dev/null
@@ -1 +0,0 @@
-no-link
diff --git a/libjava/testsuite/libjava.compile/perc.java b/libjava/testsuite/libjava.compile/perc.java
deleted file mode 100644
index 8dc2f6f..0000000
--- a/libjava/testsuite/libjava.compile/perc.java
+++ /dev/null
@@ -1,9 +0,0 @@
-// This generates code that `gcj -C' doesn't like.
-
-public class perc
-{
- public static void main (String[] args)
- {
- System.out.println (27.0 % 10.0);
- }
-}
diff --git a/libjava/testsuite/libjava.compile/plusplus.java b/libjava/testsuite/libjava.compile/plusplus.java
deleted file mode 100644
index b8e9bd9..0000000
--- a/libjava/testsuite/libjava.compile/plusplus.java
+++ /dev/null
@@ -1,10 +0,0 @@
-// Test from MoT <Sebastien.Villemot@ens.fr>.
-
-class plusplus {
- public static void main(String[] args)
- {
- int n = 5;
- int[] gnu = new int[10];
- gnu[n]++;
- }
-}
diff --git a/libjava/testsuite/libjava.compile/pr10459.java b/libjava/testsuite/libjava.compile/pr10459.java
deleted file mode 100644
index e527f34..0000000
--- a/libjava/testsuite/libjava.compile/pr10459.java
+++ /dev/null
@@ -1,15 +0,0 @@
-public class pr10459
-{
- pr10459 x;
-
- public void aMethod() throws Throwable
- {
- for (; ;x.foo().foo())
- ;
- }
-
- pr10459 foo()
- {
- return null;
- }
-}
diff --git a/libjava/testsuite/libjava.compile/pr13788.java b/libjava/testsuite/libjava.compile/pr13788.java
deleted file mode 100644
index 44f25ea..0000000
--- a/libjava/testsuite/libjava.compile/pr13788.java
+++ /dev/null
@@ -1,8 +0,0 @@
-class pr13788 {
- private static final int DUMMY1 = 1 >>> 1;
-
- public static void main(String [] args) {
- System.out.println(DUMMY1);
- }
-}
-
diff --git a/libjava/testsuite/libjava.compile/pr15656.java b/libjava/testsuite/libjava.compile/pr15656.java
deleted file mode 100644
index 4076c9f..0000000
--- a/libjava/testsuite/libjava.compile/pr15656.java
+++ /dev/null
@@ -1,8 +0,0 @@
-// This used to cause a gcj crash in error_if_numeric_overflow.
-
-public class pr15656 {
- public static void defineClass ()
- {
- Object ctor = new Object;
- }
-}
diff --git a/libjava/testsuite/libjava.compile/pr15656.xfail b/libjava/testsuite/libjava.compile/pr15656.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/pr15656.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/pr172.java b/libjava/testsuite/libjava.compile/pr172.java
deleted file mode 100644
index 4dc26d0..0000000
--- a/libjava/testsuite/libjava.compile/pr172.java
+++ /dev/null
@@ -1,9 +0,0 @@
-// jc1 (2.96 20000313) says "`A_Inner' not found"
-
-public class pr172
-{
- class A_Inner
- {
- A_Inner (A_Inner i) {}
- }
-}
diff --git a/libjava/testsuite/libjava.compile/pr17329.java b/libjava/testsuite/libjava.compile/pr17329.java
deleted file mode 100644
index fa31f18..0000000
--- a/libjava/testsuite/libjava.compile/pr17329.java
+++ /dev/null
@@ -1,14 +0,0 @@
-// gcj had a problem with "SomeClass.field++" when gimplifying.
-
-class helper
-{
- static int value;
-}
-
-public class pr17329
-{
- static void doit ()
- {
- helper.value += 2;
- }
-}
diff --git a/libjava/testsuite/libjava.compile/pr174.java b/libjava/testsuite/libjava.compile/pr174.java
deleted file mode 100644
index b819372..0000000
--- a/libjava/testsuite/libjava.compile/pr174.java
+++ /dev/null
@@ -1,15 +0,0 @@
-class A
-{
-}
-
-public class pr174
-{
- public pr174()
- {
- A a = new A();
- }
-
- class A
- {
- }
-}
diff --git a/libjava/testsuite/libjava.compile/pr17500.java b/libjava/testsuite/libjava.compile/pr17500.java
deleted file mode 100644
index 825133d..0000000
--- a/libjava/testsuite/libjava.compile/pr17500.java
+++ /dev/null
@@ -1,28 +0,0 @@
-// gcj had a problem compiling code where two anonymous classes had
-// captured constructor arguments of the same type but with different
-// names.
-
-public class pr17500
-{
- public Object m1 (final Object one)
- {
- return new Comparable()
- {
- public int compareTo(Object other)
- {
- return one == other ? 0 : 1;
- }
- };
- }
-
- public Object m2 (final Object two)
- {
- return new Comparable()
- {
- public int compareTo(Object other)
- {
- return two == other ? 0 : 1;
- }
- };
- }
-}
diff --git a/libjava/testsuite/libjava.compile/pr176.java b/libjava/testsuite/libjava.compile/pr176.java
deleted file mode 100644
index a52b5bb..0000000
--- a/libjava/testsuite/libjava.compile/pr176.java
+++ /dev/null
@@ -1,15 +0,0 @@
-// gcj (20000313) reports "Type `x' not found in the declaration of the
-// return type of method `getX'."
-
-public class pr176
-{
- class A
- {
- x getX()
- {
- return new x();
- }
-
- class x {}
- }
-}
diff --git a/libjava/testsuite/libjava.compile/pr21519.java b/libjava/testsuite/libjava.compile/pr21519.java
deleted file mode 100644
index c836a8f9..0000000
--- a/libjava/testsuite/libjava.compile/pr21519.java
+++ /dev/null
@@ -1,8 +0,0 @@
-public class pr21519 {
- char[] source;
- public int compute(int pos) {
- for (int i = 0; i < pos; ++i)
- if (!(source[i] == ' ' || source[i] == '\t')) return -1;
- return pos;
- }
-}
diff --git a/libjava/testsuite/libjava.compile/pr21519.no-link b/libjava/testsuite/libjava.compile/pr21519.no-link
deleted file mode 100644
index e69de29..0000000
--- a/libjava/testsuite/libjava.compile/pr21519.no-link
+++ /dev/null
diff --git a/libjava/testsuite/libjava.compile/pr21540.java b/libjava/testsuite/libjava.compile/pr21540.java
deleted file mode 100644
index 4d6841f..0000000
--- a/libjava/testsuite/libjava.compile/pr21540.java
+++ /dev/null
@@ -1,15 +0,0 @@
-public class pr21540
-{
- public static final long xxx = 555;
-
- public boolean fn (int v)
- {
- switch (v)
- {
- case ((int) xxx >>> 32):
- return true;
- default:
- return false;
- }
- }
-}
diff --git a/libjava/testsuite/libjava.compile/pr25429.java b/libjava/testsuite/libjava.compile/pr25429.java
deleted file mode 100644
index a869b58..0000000
--- a/libjava/testsuite/libjava.compile/pr25429.java
+++ /dev/null
@@ -1,13 +0,0 @@
-public class pr25429
-{
- private static final int CONST = 0;
- class I {
- public void f () {
- switch(0) {
- case CONST:
- }
- }
- }
-
- public static void main(String[] args) { }
-}
diff --git a/libjava/testsuite/libjava.compile/pr26042.java b/libjava/testsuite/libjava.compile/pr26042.java
deleted file mode 100644
index 485b36a..0000000
--- a/libjava/testsuite/libjava.compile/pr26042.java
+++ /dev/null
@@ -1,12 +0,0 @@
-class One
-{
- long l; // no ICE if this is int, not long
- int b; // no ICE if this line is gone; type doesn't matter
-}
-
-public class pr26042
-{
- class Three extends One { }
- Three three () { return new Three (); }
-}
-
diff --git a/libjava/testsuite/libjava.compile/pr7912.java b/libjava/testsuite/libjava.compile/pr7912.java
deleted file mode 100644
index a7de398..0000000
--- a/libjava/testsuite/libjava.compile/pr7912.java
+++ /dev/null
@@ -1,8 +0,0 @@
-public class pr7912
-{
- static Cloneable c;
- public static void main(String[] args)
- {
- c = new int[1];
- }
-}
diff --git a/libjava/testsuite/libjava.compile/pr8712.java b/libjava/testsuite/libjava.compile/pr8712.java
deleted file mode 100644
index 7a6eb75..0000000
--- a/libjava/testsuite/libjava.compile/pr8712.java
+++ /dev/null
@@ -1,7 +0,0 @@
-public class pr8712
-{
- boolean x(pr8712 a)
- {
- return (!(a instanceof pr8712));
- }
-}
diff --git a/libjava/testsuite/libjava.compile/pr8955.java b/libjava/testsuite/libjava.compile/pr8955.java
deleted file mode 100644
index ae78f50..0000000
--- a/libjava/testsuite/libjava.compile/pr8955.java
+++ /dev/null
@@ -1,13 +0,0 @@
-public class pr8955
-{
- static final int val = Integer.MIN_VALUE;
- void foo()
- {
- switch(1) {
- case val:
- break;
- case 1:
- break;
- }
- }
-}
diff --git a/libjava/testsuite/libjava.compile/redef1.java b/libjava/testsuite/libjava.compile/redef1.java
deleted file mode 100644
index a3e138a..0000000
--- a/libjava/testsuite/libjava.compile/redef1.java
+++ /dev/null
@@ -1,6 +0,0 @@
-package bar.foo;
-// A case of innerclass redefinition
-
-class redef1 {
- class redef1 {}
-}
diff --git a/libjava/testsuite/libjava.compile/redef1.xfail b/libjava/testsuite/libjava.compile/redef1.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/redef1.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/redef2.java b/libjava/testsuite/libjava.compile/redef2.java
deleted file mode 100644
index 9f8e5b8..0000000
--- a/libjava/testsuite/libjava.compile/redef2.java
+++ /dev/null
@@ -1,6 +0,0 @@
-package bar.foo;
-// A case of innerclass redefinition
-
-class redef2 {
- class foo {class redef2{}}
-}
diff --git a/libjava/testsuite/libjava.compile/redef2.xfail b/libjava/testsuite/libjava.compile/redef2.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/redef2.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/redef3.java b/libjava/testsuite/libjava.compile/redef3.java
deleted file mode 100644
index df638f1..0000000
--- a/libjava/testsuite/libjava.compile/redef3.java
+++ /dev/null
@@ -1,6 +0,0 @@
-package bar.foo;
-// A case of innerclass redefinition
-
-class redef3 {
- class foo { class bar {} class bar {}}
-}
diff --git a/libjava/testsuite/libjava.compile/redef3.xfail b/libjava/testsuite/libjava.compile/redef3.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/redef3.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/redef4.java b/libjava/testsuite/libjava.compile/redef4.java
deleted file mode 100644
index db4f499..0000000
--- a/libjava/testsuite/libjava.compile/redef4.java
+++ /dev/null
@@ -1,6 +0,0 @@
-package bar.foo;
-// A case of innerclass redefinition
-
-class redef4 {
- class foo { class bar { class foo {}}}
-}
diff --git a/libjava/testsuite/libjava.compile/redef4.xfail b/libjava/testsuite/libjava.compile/redef4.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/redef4.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/redef5.java b/libjava/testsuite/libjava.compile/redef5.java
deleted file mode 100644
index 2698e0f..0000000
--- a/libjava/testsuite/libjava.compile/redef5.java
+++ /dev/null
@@ -1,6 +0,0 @@
-package bar.foo;
-// Redefining and stuffing the redefined class with something
-
-class redef5 {
- class redef5 {void foobar() {}}
-}
diff --git a/libjava/testsuite/libjava.compile/redef5.xfail b/libjava/testsuite/libjava.compile/redef5.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/redef5.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/redef6.java b/libjava/testsuite/libjava.compile/redef6.java
deleted file mode 100644
index 1489d5e..0000000
--- a/libjava/testsuite/libjava.compile/redef6.java
+++ /dev/null
@@ -1,6 +0,0 @@
-package bar.foo;
-// Redefining and stuffing the redefined class with something
-
-class redef6 {
- class redef6 {int foo;}
-}
diff --git a/libjava/testsuite/libjava.compile/redef6.xfail b/libjava/testsuite/libjava.compile/redef6.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/redef6.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/rh174912.java b/libjava/testsuite/libjava.compile/rh174912.java
deleted file mode 100644
index 65c1bf5..0000000
--- a/libjava/testsuite/libjava.compile/rh174912.java
+++ /dev/null
@@ -1,17 +0,0 @@
-// Derived from Red Hat bugzilla 174912
-// https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=174912
-// The bug is that the anonymous class constructor here will end up
-// with a bogus '[3C' in its signature.
-
-public class rh174912 {
- public rh174912(char[][] args) { }
-
- public Object m() {
- return new rh174912(new char[][] { "hi".toCharArray(),
- "bob".toCharArray(),
- "and joe".toCharArray() }) {
- };
- }
-
- public static void main(String[] args) { }
-}
diff --git a/libjava/testsuite/libjava.compile/rh175833.java b/libjava/testsuite/libjava.compile/rh175833.java
deleted file mode 100644
index 6bdec57..0000000
--- a/libjava/testsuite/libjava.compile/rh175833.java
+++ /dev/null
@@ -1,13 +0,0 @@
-// Follow-on to PR 25429
-public class rh175833
-{
- private static final Object CONST = new Object();
- class I {
- public Object f () {
- // We need an accessor here.
- return CONST;
- }
- }
-
- public static void main(String[] args) { }
-}
diff --git a/libjava/testsuite/libjava.compile/static_1.java b/libjava/testsuite/libjava.compile/static_1.java
deleted file mode 100644
index ff01a1e..0000000
--- a/libjava/testsuite/libjava.compile/static_1.java
+++ /dev/null
@@ -1,12 +0,0 @@
-package bar.foo;
-
-class static_1 {
- class bar {
- // No Static members: methods, fields, inner classes.
- static int foo;
- static int xyzzy (){return 0;}
- static {}
- static class foo {}
- // No Member interface FIXME
- }
-}
diff --git a/libjava/testsuite/libjava.compile/static_1.xfail b/libjava/testsuite/libjava.compile/static_1.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/static_1.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/static_2.java b/libjava/testsuite/libjava.compile/static_2.java
deleted file mode 100644
index fdb5b99..0000000
--- a/libjava/testsuite/libjava.compile/static_2.java
+++ /dev/null
@@ -1,10 +0,0 @@
-package bar.foo;
-
-class static_2 {
- static class koink {
- static int i;
- static void foo (){}
- static {}
- static class foo {}
- }
-}
diff --git a/libjava/testsuite/libjava.compile/static_2.xfail b/libjava/testsuite/libjava.compile/static_2.xfail
deleted file mode 100644
index 76540af..0000000
--- a/libjava/testsuite/libjava.compile/static_2.xfail
+++ /dev/null
@@ -1 +0,0 @@
-no-link
diff --git a/libjava/testsuite/libjava.compile/static_3.java b/libjava/testsuite/libjava.compile/static_3.java
deleted file mode 100644
index 894e579..0000000
--- a/libjava/testsuite/libjava.compile/static_3.java
+++ /dev/null
@@ -1,5 +0,0 @@
-package bar.foo;
-
-class static_3 {
- static class zoink { static class zork {}}
-}
diff --git a/libjava/testsuite/libjava.compile/static_3.xfail b/libjava/testsuite/libjava.compile/static_3.xfail
deleted file mode 100644
index 76540af..0000000
--- a/libjava/testsuite/libjava.compile/static_3.xfail
+++ /dev/null
@@ -1 +0,0 @@
-no-link
diff --git a/libjava/testsuite/libjava.compile/static_init.java b/libjava/testsuite/libjava.compile/static_init.java
deleted file mode 100644
index 2e77b5e..0000000
--- a/libjava/testsuite/libjava.compile/static_init.java
+++ /dev/null
@@ -1,4 +0,0 @@
-class static_init
-{
- native { }
-}
diff --git a/libjava/testsuite/libjava.compile/static_init.xfail b/libjava/testsuite/libjava.compile/static_init.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/static_init.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/static_init2.java b/libjava/testsuite/libjava.compile/static_init2.java
deleted file mode 100644
index 8cae968..0000000
--- a/libjava/testsuite/libjava.compile/static_init2.java
+++ /dev/null
@@ -1,9 +0,0 @@
-class static_init2 {
- static final float two_to_the_30 =
- (float) (1L << 30);
-
- static float[] floatValues = {
- (float)1.0,
- (float)two_to_the_30,
- };
-}
diff --git a/libjava/testsuite/libjava.compile/static_inner.java b/libjava/testsuite/libjava.compile/static_inner.java
deleted file mode 100644
index ca0d99f..0000000
--- a/libjava/testsuite/libjava.compile/static_inner.java
+++ /dev/null
@@ -1,19 +0,0 @@
-// File Parent.java
-class Parent {
- public static class Kid {
- public Kid(int age) {
- this.age = age;
- }
-
- int age;
- }
-}
-
-// File NewParent.java
-public class static_inner extends Parent {
-
- public static void main(String[] argv) {
- Kid kid = new Kid(2);
- }
-
-}
diff --git a/libjava/testsuite/libjava.compile/support/Case.java b/libjava/testsuite/libjava.compile/support/Case.java
deleted file mode 100644
index 709b47a..0000000
--- a/libjava/testsuite/libjava.compile/support/Case.java
+++ /dev/null
@@ -1,6 +0,0 @@
-package support;
-
-public class Case
-{
- public static final int A = 9;
-}
diff --git a/libjava/testsuite/libjava.compile/support/PR129_A.java b/libjava/testsuite/libjava.compile/support/PR129_A.java
deleted file mode 100644
index 643dad6..0000000
--- a/libjava/testsuite/libjava.compile/support/PR129_A.java
+++ /dev/null
@@ -1,6 +0,0 @@
-package support;
-
-public class PR129_A {
- public static String[] strArr = { "A", "B", "C" };
-}
-
diff --git a/libjava/testsuite/libjava.compile/support/PR206_A.java b/libjava/testsuite/libjava.compile/support/PR206_A.java
deleted file mode 100644
index dffd498..0000000
--- a/libjava/testsuite/libjava.compile/support/PR206_A.java
+++ /dev/null
@@ -1,8 +0,0 @@
-package support;
-
-public final class PR206_A {
- static
- {
- String s = System.getProperty ("soylent");
- }
-}
diff --git a/libjava/testsuite/libjava.compile/support/PR207_A.java b/libjava/testsuite/libjava.compile/support/PR207_A.java
deleted file mode 100644
index 1d465f5..0000000
--- a/libjava/testsuite/libjava.compile/support/PR207_A.java
+++ /dev/null
@@ -1,13 +0,0 @@
-package support;
-
-public final class PR207_A {
- static
- {
- String s = System.getProperty ("soylent");
- }
-
- public static String hello ()
- {
- return "green";
- }
-}
diff --git a/libjava/testsuite/libjava.compile/support/Waldo.java b/libjava/testsuite/libjava.compile/support/Waldo.java
deleted file mode 100644
index e28829d..0000000
--- a/libjava/testsuite/libjava.compile/support/Waldo.java
+++ /dev/null
@@ -1,7 +0,0 @@
-package support;
-
-public interface Waldo {
-
- public static final int here = 9;
-
-}
diff --git a/libjava/testsuite/libjava.compile/uesc.java b/libjava/testsuite/libjava.compile/uesc.java
deleted file mode 100644
index b41ef69..0000000
--- a/libjava/testsuite/libjava.compile/uesc.java
+++ /dev/null
@@ -1,9 +0,0 @@
-public class uesc
-{
- public foo (Object[] v[])
- {
- char z = '\uuu00a0';
- char y = '\u00au0'; // At one point we erroneously
- // accepted this.
- }
-}
diff --git a/libjava/testsuite/libjava.compile/uesc.xfail b/libjava/testsuite/libjava.compile/uesc.xfail
deleted file mode 100644
index e3b083b..0000000
--- a/libjava/testsuite/libjava.compile/uesc.xfail
+++ /dev/null
@@ -1 +0,0 @@
-shouldfail
diff --git a/libjava/testsuite/libjava.compile/weirddecl.java b/libjava/testsuite/libjava.compile/weirddecl.java
deleted file mode 100644
index f6d9b3f..0000000
--- a/libjava/testsuite/libjava.compile/weirddecl.java
+++ /dev/null
@@ -1,8 +0,0 @@
-public class weirddecl
-{
- // Weird but legal decl.
- public String foo (String[] dumb[])
- {
- return dumb[0][0];
- }
-}
diff --git a/libjava/testsuite/libjava.compile/weirddecl.xfail b/libjava/testsuite/libjava.compile/weirddecl.xfail
deleted file mode 100644
index 76540af..0000000
--- a/libjava/testsuite/libjava.compile/weirddecl.xfail
+++ /dev/null
@@ -1 +0,0 @@
-no-link
diff --git a/libjava/testsuite/libjava.compile/zeroexp.java b/libjava/testsuite/libjava.compile/zeroexp.java
deleted file mode 100644
index f14efbb..0000000
--- a/libjava/testsuite/libjava.compile/zeroexp.java
+++ /dev/null
@@ -1,10 +0,0 @@
-public class zeroexp
-{
- public static void main (String[] argv)
- {
- // gcj used to give an error about this literal.
- float f = 0E-6F;
- double d = 0E-9;
- System.out.println ("" + f + " " + d);
- }
-}