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/22987] New: [powerpc/sparc] fdim inlines errno, exceptions handling


https://sourceware.org/bugzilla/show_bug.cgi?id=22987

            Bug ID: 22987
           Summary: [powerpc/sparc] fdim inlines errno, exceptions
                    handling
           Product: glibc
           Version: 2.27
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
  Target Milestone: ---

The powerpc and sparc bits/mathinline.h include inlines of fdim and fdimf. 
These are not restricted to -fno-math-errno, but do not set errno, and wrongly
use ordered <= comparisons instead of the required islessequal comparisons
(this latter issue is latent on powerpc because GCC wrongly uses unordered
comparison instructions for operations that should use ordered comparison
instructions).

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