http://d.puremagic.com/issues/show_bug.cgi?id=7502
Summary: 2.056 regression: Assigning .init takes forever to compile for large structs Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: thecybersha...@gmail.com --- Comment #0 from Vladimir Panteleev <thecybersha...@gmail.com> 2012-02-14 01:20:12 PST --- 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) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------