http://d.puremagic.com/issues/show_bug.cgi?id=3687
Summary: Array operation "slice times scalar" tramples over memory Product: D Version: 1.053 Platform: x86 OS/Version: Windows Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: eriatark...@gmail.com --- Comment #0 from Clemens <eriatark...@gmail.com> 2010-01-07 13:16:38 PST --- The following code fails with an assertion failure when it clearly shouldn't: ==================================================== void main() { float[64] array; int i = 42; auto slice = array[]; slice[] *= 2f; assert(i == 42); } ==================================================== Array bounds checking doesn't catch this. I presume that the code in the runtime to execute this array operation is buggy. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------