[Bug debug/120738] New: ctf: use CTF_FP_LDOUBLE encoding for 128-bit floats
bruce.mcculloch at oracle dot com
gcc-bugzilla@gcc.gnu.org
Sat Jun 21 01:42:43 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120738
Bug ID: 120738
Summary: ctf: use CTF_FP_LDOUBLE encoding for 128-bit floats
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: bruce.mcculloch at oracle dot com
Target Milestone: ---
Currently, gen_ctf_base_type will obtain the bit_size of a given DWARF DIE
based
on the system GCC is compiling for. For DIEs with a DW_ATE_float encoding, this
is used to determine whether to classify a given DIE as a single, double, or
long double. However, on some systems, a long double will not have a bit_size
of 128 (usually it will be 80). This means that a __float128 (_Float128) type
will not be classified as a long double, and will actually be dropped entirely.
More information about the Gcc-bugs
mailing list