[Issue 15206] ICE on optimized build, tym = x1d Internal error: backend\cgxmm.c 547
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jan 9 00:51:36 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=15206
briancschott at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-valid-code, industry
CC| |briancschott at gmail.com
OS|Windows |All
--- Comment #2 from briancschott at gmail.com ---
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
--
More information about the Digitalmars-d-bugs
mailing list