From a8182d3719015766107812ceb65220dde1074f20 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 5 Jan 2005 19:03:10 +0000 Subject: [PATCH] re PR libgcj/15719 (GIJ Interpeter: Problem with NaN / infinity comparisons) PR libgcj/15719: * interpret.cc (run) : Set tmpval correctly. From-SVN: r92966 --- libjava/ChangeLog | 6 ++++++ libjava/interpret.cc | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 1393ebcc85a..b4f7e8edd8f 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,9 @@ +2005-01-05 Tom Tromey + + PR libgcj/15719: + * interpret.cc (run) : Set tmpval + correctly. + 2005-01-05 Tom Tromey * java/lang/natRuntime.cc (insertSystemProperties): Set diff --git a/libjava/interpret.cc b/libjava/interpret.cc index 91d4b194774..4c547b35dd6 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: { -- 2.30.2