re PR libgcj/15719 (GIJ Interpeter: Problem with NaN / infinity comparisons)
authorTom Tromey <tromey@redhat.com>
Wed, 5 Jan 2005 19:03:10 +0000 (19:03 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Wed, 5 Jan 2005 19:03:10 +0000 (19:03 +0000)
PR libgcj/15719:
* interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
correctly.

From-SVN: r92966

libjava/ChangeLog
libjava/interpret.cc

index 1393ebcc85a391bac6fb0a96101c3cfc08b50540..b4f7e8edd8fab0b859863161c64e32c46dd6cbb6 100644 (file)
@@ -1,3 +1,9 @@
+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
index 91d4b194774e41719f137cf7db60260dcd58181f..4c547b35dd6b5f3c34bdf1107f5e9dff61036f89 100644 (file)
@@ -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:
       {