May 15, 2010 [Issue 4189] New: Bus errors with array operations | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=4189 Summary: Bus errors with array operations Product: D Version: future Platform: x86 OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nobody@puremagic.com ReportedBy: pillsbury+dbugs@gmail.com --- Comment #0 from Matt Pillsbury <pillsbury+dbugs@gmail.com> 2010-05-14 18:35:49 PDT --- Using an arithmetic operations on arrays causes bus errors when compiling with DMD 2.046 on Mac OS 10.6.3. void main () { auto vec = new double[10]; foreach(i, ref x; vec) { x = cast(double) i; } vec[] *= 0.5; } This compiles with no errors or warnings, and a bus error results when the resulting binary is executed. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 09, 2010 [Issue 4189] Bus errors with array operations | ||||
---|---|---|---|---|
| ||||
Posted in reply to Matt Pillsbury | http://d.puremagic.com/issues/show_bug.cgi?id=4189 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |clugdbug@yahoo.com.au Resolution| |DUPLICATE --- Comment #1 from Don <clugdbug@yahoo.com.au> 2010-06-09 11:50:32 PDT --- *** This issue has been marked as a duplicate of issue 3658 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation