struct S { int[0x10000] arr; } S s; void f() { s = s.init; } Compiles quickly with 2.055, but too long to be practical with 2.056. Workaround: use emplace. Looking at the compiler stack trace, it seems to be stuck optimizing deeply-nested comma expressions (lots of cgcs.c:ecom in the stack). (this isn't something that should block the 2.058 release)
Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/3f88f156879841ef79162916b2dbbf28e2a1fcc3 fix Issue 7502 - 2.056 regression: Assigning .init takes forever to compile for large structs