[Issue 17551] New: VC build: bad mangling of real template argument
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Jun 25 08:41:16 PDT 2017
https://issues.dlang.org/show_bug.cgi?id=17551
Issue ID: 17551
Summary: VC build: bad mangling of real template argument
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: r.sagitario at gmx.de
When building dmd with the VC runtime, templates with real arguments are
mangled wrong:
module test;
real foo(real x)() { return x; }
pragma(msg, (foo!0.3).mangleof); //
_D4test__T3fooVeex13333333333333334pN2ZQBdFNaNbNiNfZe
Please note the additional 'x' before the constant as well as the small 'p'
before the exponent (sould be 'P')
--
More information about the Digitalmars-d-bugs
mailing list