This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug math/2830] New: math-atest-* broken for ptrdiff_t narrower than mp_limb_t


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]