aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
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:
{