This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/2830] New: math-atest-* broken for ptrdiff_t narrower than mp_limb_t
- From: "jsm28 at gcc dot gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 23 Jun 2006 15:46:18 -0000
- Subject: [Bug math/2830] New: math-atest-* broken for ptrdiff_t narrower than mp_limb_t
- Reply-to: sourceware-bugzilla at sourceware dot org
The tests math/atest-*.c convert hex strings to multiple-precision numbers
by using strchr to get a value for the hex digit (as type ptrdiff_t) and
then shifting appropriately. This doesn't work if ptrdiff_t is narrower
than mp_limb_t (as on MIPS64 N32); the value should be cast to mp_limb_t
before shifting.
Patch: http://sourceware.org/ml/libc-alpha/2006-06/msg00010.html
--
Summary: math-atest-* broken for ptrdiff_t narrower than
mp_limb_t
Product: glibc
Version: 2.4
Status: NEW
Severity: normal
Priority: P2
Component: math
AssignedTo: aj at suse dot de
ReportedBy: jsm28 at gcc dot gnu dot org
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=2830
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.