[PATCH] D11922: Add NaCl to long double/fp128 mangling test

Chih-Hung Hsieh via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 10 17:22:35 PDT 2015

chh added a comment.

If there were only two different types,
we should have mangled name 'd' for double and 'e' for long double,
even if their implementations are the same.

The problem came when g++ has __float80 and __float128 types,
and long double could be implemented as __float80 or __float128.
Then 'e' is used for __float80, 'g' for __float128,
and 'long double' has mangled name 'e' or 'g', depending on whether
it is __float80 or __float128.

Yes, so far I know only Android and powerpc use fp128 for long double on x86_64.



More information about the cfe-commits mailing list