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/15367] New: Let gcc use __builtin_isinf


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

             Bug #: 15367
           Summary: Let gcc use __builtin_isinf
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
        AssignedTo: unassigned@sourceware.org
        ReportedBy: marc.glisse@normalesup.org
    Classification: Unclassified


Hello,

gcc has had __builtin_isinf for a while now, but not __builtin___isinf.
However, math.h defines a macro that replaces isinf with __isinf and thus
prevents gcc from inlining its implementation. I thus get better code with
(isinf)(d) than isinf(d), because it inhibits the macro expansion.

Could the macro be changed, or do we have to add __builtin___isinf to gcc?

-- 
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]