re PR java/15769 (ICE: infinite recursion through gimplify_expr)
authorAndrew Pinski <pinskia@gcc.gnu.org>
Tue, 8 Jun 2004 13:30:33 +0000 (06:30 -0700)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Tue, 8 Jun 2004 13:30:33 +0000 (06:30 -0700)
2004-06-08  Andrew Pinski  <pinskia@physics.uc.edu>

        PR java/15769
        * libjava.compile/PR15769.java: New test.

From-SVN: r82757

libjava/testsuite/ChangeLog-old
libjava/testsuite/libjava.compile/PR15769.java [new file with mode: 0644]

index 6d958a7a059fd795debdd7bbf718228764d89009..19584b59bad82fc9b10aecdb1cd58569631459e3 100644 (file)
@@ -1,3 +1,8 @@
+2004-06-08  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR java/15769
+       * libjava.compile/PR15769.java: New test.
+
 2004-01-12  Andreas Tobler  <a.tobler@schweiz.ch>
 
        * lib/libjava.exp: Add LD_LIBRARY_PATH_32/64 to get proper
diff --git a/libjava/testsuite/libjava.compile/PR15769.java b/libjava/testsuite/libjava.compile/PR15769.java
new file mode 100644 (file)
index 0000000..8107626
--- /dev/null
@@ -0,0 +1,10 @@
+class PR15769 {
+        private boolean foo () { return false; }
+
+
+        public boolean bar (double blaz)
+        {       
+                return (Double.POSITIVE_INFINITY != blaz) && foo ();
+        }
+}
+