[Issue 3192] New: asm in a anonymous delegate crash the compiler

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jul 19 16:38:58 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3192

           Summary: asm in a anonymous delegate crash the compiler
           Product: D
           Version: 1.046
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: lifc0 at yahoo.com.cn


below lines crash dmd 1.046/2.031 on linux and window platfrom:

void func (void delegate () callback) {
    callback();
}

void main () {
    func(() { asm{ int 3; }; });
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list