This is sources Bugzilla
Bugzilla Version 2.17.5
Bugzilla Bug 2830
  math-atest-* broken for ptrdiff_t narrower than mp_limb_t Last modified: 2006-10-12 05:27:11
     Query page      Enter new bug
Bug#: 2830   Hardware:   Reporter: Joseph Myers <jsm28@gcc.gnu.org>
Host: Target: Build:
Product:     Add CC:
Component:   Version:   CC:
Remove selected CCs
Status: RESOLVED   Priority:  
Resolution: FIXED   Severity:  
Assigned To: Andreas Jaeger <aj@suse.de>   Target Milestone:  
Flags: Requestee:
  backport ()
  examined ()
  testsuite ()
Summary:
Keywords:

Attachment Description Type Created Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 2830 depends on: Show dependency tree
Show dependency graph
Bug 2830 blocks:

Additional Comments:


Leave as RESOLVED FIXED
Reopen bug
Mark bug as VERIFIED

View Bug Activity   |   Format For Printing


Description:   Last confirmed: 0000-00-00 00:00 Opened: 2006-06-23 15:46
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

------- Additional Comment #1 From Andreas Jaeger 2006-10-12 05:27 -------
fixed for glibc 2.6.

     Query page      Enter new bug
Actions: New | Query | bug # | Reports | Requests   New Account | Log In