[Issue 7565] New: ICE cg87.c:202, 64-bit only

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 22 19:03:26 PST 2012


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

           Summary: ICE cg87.c:202, 64-bit only
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            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> 2012-02-22 19:03:25 PST ---
struct BasicMatrix( Storage_ ) {
    double opIndexAssign( double rhs, size_t i, size_t j ) {
        return rhs;
    }
}

void main() {
    auto a = BasicMatrix!( double )();
    double k = 0.0;
    a[ 0, 0 ] = k ++;
}

$ dmd test.d -m64
Internal error: ../ztc/cg87.c 202
$ dmd test.d -m32 
(success)

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