]> granicus.if.org Git - clang/commit
[ItaniumMangle] Mangle long double as __float128 for some Power targets
authorDavid Majnemer <david.majnemer@gmail.com>
Tue, 9 Jun 2015 18:05:33 +0000 (18:05 +0000)
committerDavid Majnemer <david.majnemer@gmail.com>
Tue, 9 Jun 2015 18:05:33 +0000 (18:05 +0000)
commit02193ce76c1bcc2c1e2d712dcd061cd80740b7fd
tree5fdb57329798f61384421bbae9ffe70500748271
parenta81d8fe06ec8c992b5434beea5d7ee90de383e65
[ItaniumMangle] Mangle long double as __float128 for some Power targets

GCC mangles long double like __float128 in order to support
compatibility with ABI variants which had a different interpretation of
long double.

This fixes PR23791.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@239421 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/TargetInfo.h
lib/AST/ItaniumMangle.cpp
lib/Basic/Targets.cpp
test/CodeGenCXX/mangle-long-double.cpp [new file with mode: 0644]