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: nob...@puremagic.com
        ReportedBy: dsim...@yahoo.com


--- Comment #0 from David Simcha <dsim...@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: -------

Reply via email to