http://d.puremagic.com/issues/show_bug.cgi?id=4881
Summary: _d_arrayliteralT() called in instances where a blit should suffice Product: D Version: D2 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: s...@invisibleduck.org --- Comment #0 from Sean Kelly <s...@invisibleduck.org> 2010-09-17 14:01:11 PDT --- The following code will generate a call to _d_arrayliteralT() for the struct copy operation: import core.stdc.stdlib; struct List {} struct GC { List*[1] free_list; } void main() { auto gc = cast(GC*) malloc(GC.sizeof); *gc = GC.init; // _d_arrayliteralT() called here } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------