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

--- Comment #0 from Sean Kelly <> 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:
------- You are receiving this mail because: -------

Reply via email to