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. Repository: rL LLVM http://reviews.llvm.org/D11922 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits