digitalmars.D.bugs - [Issue 1891] New: Array-concatenation of T* and T*[] produces corrupted result
- d-bugmail puremagic.com Mar 03 2008
- d-bugmail puremagic.com Mar 03 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 digitalmars.com ReportedBy: ludwig 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. --
Mar 03 2008
http://d.puremagic.com/issues/show_bug.cgi?id=1891 ------- Comment #1 from ludwig informatik.uni-luebeck.de 2008-03-03 15:56 ------- Created an attachment (id=231) --> (http://d.puremagic.com/issues/attachment.cgi?id=231&action=view) Testcase --
Mar 03 2008








d-bugmail puremagic.com