aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2005-01-05 19:03:10 +0000
committerTom Tromey <tromey@gcc.gnu.org>2005-01-05 19:03:10 +0000
commita8182d3719015766107812ceb65220dde1074f20 (patch)
tree15141a7dd6fb25e1c50ef7707239d70cc2632358 /libjava
parentb4a49222ae8229c8dc31ec82b47e26c7ad9a2c1a (diff)
downloadgcc-a8182d3719015766107812ceb65220dde1074f20.zip
gcc-a8182d3719015766107812ceb65220dde1074f20.tar.gz
gcc-a8182d3719015766107812ceb65220dde1074f20.tar.bz2
re PR libgcj/15719 (GIJ Interpeter: Problem with NaN / infinity comparisons)
PR libgcj/15719: * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval correctly. From-SVN: r92966
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog6
-rw-r--r--libjava/interpret.cc4
2 files changed, 8 insertions, 2 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index 1393ebc..b4f7e8e 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,5 +1,11 @@
2005-01-05 Tom Tromey <tromey@redhat.com>
+ PR libgcj/15719:
+ * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
+ correctly.
+
+2005-01-05 Tom Tromey <tromey@redhat.com>
+
* java/lang/natRuntime.cc (insertSystemProperties): Set
java.ext.dirs earlier.
diff --git a/libjava/interpret.cc b/libjava/interpret.cc
index 91d4b19..4c547b3 100644
--- a/libjava/interpret.cc
+++ b/libjava/interpret.cc
@@ -2087,11 +2087,11 @@ _Jv_InterpMethod::run (void *retp, ffi_raw *args)
NEXT_INSN;
insn_dcmpl:
- tmpval = 1;
+ tmpval = -1;
goto dcmp;
insn_dcmpg:
- tmpval = -1;
+ tmpval = 1;
dcmp:
{