[Issue 14133] [REG 2.067] struct ctor init compiles very slow and produces excessive amounts of code
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Mar 20 07:59:36 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=14133
--- Comment #4 from Martin Nowak <code at dawg.eu> ---
There is a 2nd variation of this bug. Even when assigning an better sinit
symbol, it is deleted for assignments. This was added with a fix for issue
7502.
No clue why
https://github.com/D-Programming-Language/dmd/commit/3f88f156879841ef79162916b2dbbf28e2a1fcc3?diff=unified#diff-6e3ab8a500e476994f345ede433811bbR3538.
cat > bug.d << CODE
struct Bug
{
size_t[16 * 1024] data;
}
void test()
{
Bug b;
b = Bug();
}
CODE
----
dmd -c bug
----
--
More information about the Digitalmars-d-bugs
mailing list