[pkg-d-commits] [ldc] 03/149: Attempt to workaround DMD bug.

Matthias Klumpp mak at moszumanska.debian.org
Sun Apr 23 22:36:52 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 b49b8f8415e1bd663000d93f5dd49df62b2f206c
Author: Johan Engelen <jbc.engelen at gmail.com>
Date:   Tue Dec 13 22:33:46 2016 +0100

    Attempt to workaround DMD bug.
---
 ddmd/mtype.d | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ddmd/mtype.d b/ddmd/mtype.d
index af5a452..adc0d38 100644
--- a/ddmd/mtype.d
+++ b/ddmd/mtype.d
@@ -4633,7 +4633,7 @@ version(IN_LLVM)
                 /+ The size limit that DMD imposes here is only there to work around an optlink bug, which doesn't apply to LDC.
                  + https://issues.dlang.org/show_bug.cgi?id=14859
                  +/
-                mulu(tbn.size(loc), d2, overflow);
+                auto _ = mulu(tbn.size(loc), d2, overflow);
                 if (overflow)
                     goto Loverflow;
 }

-- 
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