re PR java/17329 (ICE: SEGV in java_gimplify_expr)
authorTom Tromey <tromey@redhat.com>
Thu, 23 Sep 2004 16:24:42 +0000 (16:24 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Thu, 23 Sep 2004 16:24:42 +0000 (16:24 +0000)
PR java/17329:
* testsuite/libjava.compile/pr17329.java: New file.

From-SVN: r87960

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

index 9d47d94175c0554127b4c4758e255fb8ea1703d8..df73e81bbb4c00e0733f826ec6970a60feeeba0e 100644 (file)
@@ -1,5 +1,8 @@
 2004-09-23  Tom Tromey  <tromey@redhat.com>
 
+       PR java/17329:
+       * testsuite/libjava.compile/pr17329.java: New file.
+
        PR java/17380:
        * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
        9.2-implicit-7.
diff --git a/libjava/testsuite/libjava.compile/pr17329.java b/libjava/testsuite/libjava.compile/pr17329.java
new file mode 100644 (file)
index 0000000..fa31f18
--- /dev/null
@@ -0,0 +1,14 @@
+// gcj had a problem with "SomeClass.field++" when gimplifying.
+
+class helper
+{
+  static int value;
+}
+
+public class pr17329
+{
+  static void doit ()
+  {
+    helper.value += 2;
+  }
+}