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/14053] New: test-ifloat failure since lrintf gets optimized away


http://sourceware.org/bugzilla/show_bug.cgi?id=14053

             Bug #: 14053
           Summary: test-ifloat failure since lrintf gets optimized away
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
        AssignedTo: unassigned@sourceware.org
        ReportedBy: aj@suse.de
    Classification: Unclassified


test-ifloat fails on x86-64 with GCC 4.7 with:
testing float (inline functions)
Failure: Test: lrint_upward (0.2) == 1
Result:
 is:         0
 should be:  1
Failure: Test: lrint_upward (1.4) == 2
Result:
 is:         1
 should be:  2
Failure: Test: lrint_upward (8388600.3) == 8388601
Result:
 is:         8388600
 should be:  8388601

The problem is that lrintf calls get optimized away, see also
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53190

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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