[Issue 3496] New: ICE ..\ztc\cgelem.c 3387

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 11 09:51:34 PST 2009


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

           Summary: ICE ..\ztc\cgelem.c 3387
           Product: D
           Version: unspecified
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: dsimcha at yahoo.com


--- Comment #0 from David Simcha <dsimcha at yahoo.com> 2009-11-11 09:51:33 PST ---
struct Node {
    size_t _left;

    Node* left() {
        return cast(Node*) (_left & 1);
    }

    bool useLeft() {
        return left is null;
    }
}

Result:

Internal error: ..\ztc\cgelem.c 3387

This one is really hard to reproduce.  If you change this test program in even
very small ways, it's no longer reproduced.

-- 
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