diff options
author | Tom Tromey <tromey@redhat.com> | 2005-01-05 19:03:10 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2005-01-05 19:03:10 +0000 |
commit | a8182d3719015766107812ceb65220dde1074f20 (patch) | |
tree | 15141a7dd6fb25e1c50ef7707239d70cc2632358 /libjava/interpret.cc | |
parent | b4a49222ae8229c8dc31ec82b47e26c7ad9a2c1a (diff) | |
download | gcc-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/interpret.cc')
-rw-r--r-- | libjava/interpret.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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: { |