bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/27078] New: c++filt: demangling for float128 type is confu


From: qiu.chaofan at outlook dot com
Subject: [Bug binutils/27078] New: c++filt: demangling for float128 type is confusing on PowerPC
Date: Wed, 16 Dec 2020 09:12:45 +0000

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

            Bug ID: 27078
           Summary: c++filt: demangling for float128 type is confusing on
                    PowerPC
           Product: binutils
           Version: 2.35
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: qiu.chaofan at outlook dot com
  Target Milestone: ---

Simple program:

  __ibm128 foo(__ibm128 a, __ibm128 b) {
    return a + b;
  }

  __float128 foo2(__float128 a, __float128 b) {
    return a + b;
  }

GCC will mangle the names as `_Z3foogg` and `_Z4foo2u9__ieee128u9__ieee128`.

However, use `c++filt` to demangle them, it outputs `foo(__float128,
__float128)` and `foo2(__ieee128, __ieee128)`. This is strange and confusing
since we use `u9__ieee128` for `__float128` type.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]