[Issue 14710] New: VC-built DMD crashes on templated variadic function IFTI

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Jun 18 04:57:24 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14710

          Issue ID: 14710
           Summary: VC-built DMD crashes on templated variadic function
                    IFTI
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: thecybershadow at gmail.com

////////// test.d //////////
void a(T)(T val, T[] arr...)
{
}

void b()
{
    a("", "");
}
////////////////////////////

When DMD is built with dmd_msc.vcxproj (in the Release/x64 configuration), it
causes an access violation.

This appears to be a regression, introduced in
https://github.com/D-Programming-Language/dmd/pull/4535

--


More information about the Digitalmars-d-bugs mailing list