From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24814 invoked by alias); 29 May 2004 00:59:49 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 24789 invoked by uid 48); 29 May 2004 00:59:49 -0000 Date: Sat, 29 May 2004 01:06:00 -0000 From: "mckinlay at redhat dot com" To: java-prs@gcc.gnu.org Message-ID: <20040529005945.15719.mckinlay@redhat.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libgcj/15719] New: GIJ Interpeter: Problem with NaN / infinity comparisons X-Bugzilla-Reason: CC X-SW-Source: 2004-q2/txt/msg00167.txt.bz2 List-Id: The following test case produces the wrong result when compiled to bytecode and run with the gij interpreter. public class Test { public static void main(String[] args) { System.out.println(blah(Double.NaN)); } static boolean blah(double a) { return (a < Double.POSITIVE_INFINITY); } } Expected output: false Actual output: true -- Summary: GIJ Interpeter: Problem with NaN / infinity comparisons Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P2 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: mckinlay at redhat dot com CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15719