From 51c9fed94b1c54202ddc481b3f4fe752989799a7 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 23 Sep 2004 16:24:42 +0000 Subject: [PATCH] re PR java/17329 (ICE: SEGV in java_gimplify_expr) PR java/17329: * testsuite/libjava.compile/pr17329.java: New file. From-SVN: r87960 --- libjava/ChangeLog | 3 +++ libjava/testsuite/libjava.compile/pr17329.java | 14 ++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 libjava/testsuite/libjava.compile/pr17329.java diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 9d47d94175c..df73e81bbb4 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,5 +1,8 @@ 2004-09-23 Tom Tromey + 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 index 00000000000..fa31f18a726 --- /dev/null +++ b/libjava/testsuite/libjava.compile/pr17329.java @@ -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; + } +} -- 2.30.2