digitalmars.D.bugs - [Issue 7502] New: 2.056 regression: Assigning .init takes forever to compile for large structs
- d-bugmail puremagic.com (31/31) Feb 14 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7502
- d-bugmail puremagic.com (9/9) Feb 26 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7502
- d-bugmail puremagic.com (10/10) Feb 26 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7502
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: nobody puremagic.com ReportedBy: thecybershadow gmail.com --- Comment #0 from Vladimir Panteleev <thecybershadow 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: -------
Feb 14 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7502 --- Comment #1 from github-bugzilla puremagic.com 2012-02-26 21:34:55 PST --- 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 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 26 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7502 Walter Bright <bugzilla digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |bugzilla digitalmars.com Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Feb 26 2012