aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@gcc.gnu.org>2004-06-08 06:30:33 -0700
committerAndrew Pinski <pinskia@gcc.gnu.org>2004-06-08 06:30:33 -0700
commita921159ad4fd1de20154b9d71e015471505b5155 (patch)
tree09340b0ec59c8000c209a1abba1e152d8b953e0e /libjava/testsuite/libjava.compile
parentc1b69e3ca2ede08266a6dd101f2903b08db71eb6 (diff)
downloadgcc-a921159ad4fd1de20154b9d71e015471505b5155.zip
gcc-a921159ad4fd1de20154b9d71e015471505b5155.tar.gz
gcc-a921159ad4fd1de20154b9d71e015471505b5155.tar.bz2
re PR java/15769 (ICE: infinite recursion through gimplify_expr)
2004-06-08 Andrew Pinski <pinskia@physics.uc.edu> PR java/15769 * libjava.compile/PR15769.java: New test. From-SVN: r82757
Diffstat (limited to 'libjava/testsuite/libjava.compile')
-rw-r--r--libjava/testsuite/libjava.compile/PR15769.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/libjava/testsuite/libjava.compile/PR15769.java b/libjava/testsuite/libjava.compile/PR15769.java
new file mode 100644
index 0000000..8107626
--- /dev/null
+++ b/libjava/testsuite/libjava.compile/PR15769.java
@@ -0,0 +1,10 @@
+class PR15769 {
+ private boolean foo () { return false; }
+
+
+ public boolean bar (double blaz)
+ {
+ return (Double.POSITIVE_INFINITY != blaz) && foo ();
+ }
+}
+