[pkg-d-commits] [ldc] 76/149: Fix C++ mangling of real: __float128 => long double

Matthias Klumpp mak at moszumanska.debian.org
Sun Apr 23 22:37:00 UTC 2017


This is an automated email from the git hooks/post-receive script.

mak pushed a commit to annotated tag v1.2.0
in repository ldc.

commit 7c1e4a74ce139cd9fc21ca71d89891435a6c6832
Author: Martin <noone at nowhere.com>
Date:   Fri Feb 3 23:13:24 2017 +0100

    Fix C++ mangling of real: __float128 => long double
---
 gen/target.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gen/target.cpp b/gen/target.cpp
index 7f47f41..c425a6b 100644
--- a/gen/target.cpp
+++ b/gen/target.cpp
@@ -44,7 +44,7 @@ void Target::_init() {
   realsize = gDataLayout->getTypeAllocSize(real);
   realpad = realsize - gDataLayout->getTypeStoreSize(real);
   realalignsize = gDataLayout->getABITypeAlignment(real);
-  realislongdouble = false;
+  realislongdouble = true;
 
   // according to DMD, only for MSVC++:
   reverseCppOverloads = global.params.targetTriple->isWindowsMSVCEnvironment();

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/ldc.git



More information about the pkg-d-commits mailing list