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

           Summary: ICE(backend/cg87.c)assignment btw two elements of
                    dynamic array of complex number types
           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: k.hanaz...@gmail.com


--- Comment #0 from Kasumi Hanazuki <k.hanaz...@gmail.com> 2012-04-23 12:26:52 
PDT ---
Assignment expressions whose both hand sides are elements of some dynamic
arrays of complex number types, causes ICE on dmd backend when their return
value is used.

  Internal error: backend/cg87.c 331

Tested against git HEAD (v2.060).


This is minimal sample:
----

void main() {
    creal[] a = new creal[2];
    auto b = a[0] = a[1];
}

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

Reply via email to