[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/24035] New: 64-bit unclean fdlibm code
From: |
gbeauchesne at mandriva dot com |
Subject: |
[Bug classpath/24035] New: 64-bit unclean fdlibm code |
Date: |
23 Sep 2005 16:37:28 -0000 |
Hi,
Kaffe's PrintDouble test fails on 64-bit systems. fdlibm mprec.c (lshift) can go
into an infinite loop. Part of the code still assumes "long" is a 32-bit value,
thus the patch (yet-to-be-attached) replaces some occurrences of long to int.
The better fix would probably be to audit uses of sizeof(long) vs. sizeof(int) +
replacing some of shift values computation to 8*sizeof(underlying type) instead
of using plain "32" but I don't think this ancient code is worth the effort.
--
Summary: 64-bit unclean fdlibm code
Product: classpath
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: classpath
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: gbeauchesne at mandriva dot com
CC: bug-classpath at gnu dot org
GCC host triplet: x86_64-mandriva-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24035
- [Bug classpath/24035] New: 64-bit unclean fdlibm code,
gbeauchesne at mandriva dot com <=