From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15681 invoked by alias); 27 Feb 2006 16:18:42 -0000 Received: (qmail 15660 invoked by uid 48); 27 Feb 2006 16:18:41 -0000 Date: Mon, 27 Feb 2006 16:18:00 -0000 Subject: [Bug libgcj/26483] New: Wrong parsing of doubles when interpreted X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "konqueror at gmx dot de" 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 X-SW-Source: 2006-q1/txt/msg00238.txt.bz2 List-Id: I tried to run the attached test case on IA64 native and interpreted. The bad news is that both give totally different results: Native: mkoch@merulo:~$ gcj-4.0 DoubleTest.java -o doubleTest --main=DoubleTest -g mkoch@merulo:~$ ./doubleTest 5.0E-324 Interpreted: mkoch@merulo:~$ gij-4.0 DoubleTest 8.881784197001252E-16 The interpreted case is wrong. This seems to be a bug in fdlibm as jamvm/classpath has the same bug. This bug only happens on IA64 as far as I know. E.g. it makes building GNU classpath fail with ecj. I wonder what GCJ does that makes this work in the native case ... -- Summary: Wrong parsing of doubles when interpreted Product: gcc Version: 4.0.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcj AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: konqueror at gmx dot de GCC build triplet: ia64-linux-gnu GCC host triplet: ia64-linux-gnu GCC target triplet: ia64-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26483