[Issue 1891] New: Array-concatenation of T* and T*[] produces corrupted result
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Mar 3 13:55:22 PST 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1891
Summary: Array-concatenation of T* and T*[] produces corrupted
result
Product: D
Version: 2.011
Platform: PC
OS/Version: All
Status: NEW
Keywords: wrong-code
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla at digitalmars.com
ReportedBy: ludwig at informatik.uni-luebeck.de
Concatenation of values of T* and T*[] seems to produce an invalid result
array, as soon as T.sizeof > 4. The attached source demonstrates the problem.
GDC does not seem to have this problem, but I have not tested this on DMD 1.x.
--
More information about the Digitalmars-d-bugs
mailing list