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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice-on-valid-code, industry
                 CC|                            |[email protected]
                 OS|Windows                     |All

--- Comment #2 from [email protected] ---
Here's a test case minimized from a failed build of some data processing code
at EMSI. This is partially a 2.078.0 regression, but I wasn't sure about filing
a new issue since it seems to be a duplicate of this bug.

-----------------------------

void main()
{
}

struct Line
{
    double slope;
    double intercept;
}

Line nLineProjection(double[] historicData)
{
    Line projLine;
    projLine.intercept = historicData[$-1] + projLine.slope;
    return projLine;
}

-----------------------------

$ dmd -O test.d
tym = x1d
Internal error: dmd/backend/cgxmm.c 684
$ dmd --version
DMD64 D Compiler v2.078.0
Copyright (c) 1999-2017 by The D Language Foundation written by Walter Bright

--

Reply via email to