[Bug target/85456] New: PowerPC: Using -mabi=ieeelongdouble calls wrong function for __builtin_powi.

meissner at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 18 19:47:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85456

            Bug ID: 85456
           Summary: PowerPC: Using -mabi=ieeelongdouble calls wrong
                    function for __builtin_powi.
           Product: gcc
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: meissner at gcc dot gnu.org
  Target Milestone: ---

When we switch the default long double type, we call the wrong function for
__builtin_powil (i.e. we call __powitf2, when we should call __powikf2).  We
will also need a powikf function in libgcc.


More information about the Gcc-bugs mailing list