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/22377] New: iseqsig, float128 and C++


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

            Bug ID: 22377
           Summary: iseqsig, float128 and C++
           Product: glibc
           Version: 2.26
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
                CC: gabriel at inconstante dot eti.br
  Target Milestone: ---

Similar to other such bugs:

iseqsig is defined to use __MATH_TG.  Thus, when float128 is supported as
ABI-distinct from long double, iseqsig will not work in C++ code.

Fixing this might be trickier than for other such macros, because comparison
macros are meant to work based on the evaluation format rather than the
semantic type; that is, the function to call should be determined by
__MATH_EVAL_FMT2 (x, y).  The macro __MATH_EVAL_FMT2 *is* OK to call from C++
code (but the result of the call should only be used to determine the
particular __iseqsig* function to call; it would be incorrect actually to
evaluate the expression __MATH_EVAL_FMT2 expands to, only its type is
relevant).

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