[Issue 7976] New: ICE(backend/cg87.c)assignment btw two elements of dynamic array of complex number types
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Apr 23 12:25:51 PDT 2012
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: nobody at puremagic.com
ReportedBy: k.hanazuki at gmail.com
--- Comment #0 from Kasumi Hanazuki <k.hanazuki at 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: -------
More information about the Digitalmars-d-bugs
mailing list