digitalmars.D.bugs - [Issue 2549] New: Segfault on array multiplication.
- d-bugmail puremagic.com (21/21) Dec 30 2008 http://d.puremagic.com/issues/show_bug.cgi?id=2549
- d-bugmail puremagic.com (16/16) Jan 17 2010 http://d.puremagic.com/issues/show_bug.cgi?id=2549
- d-bugmail puremagic.com (11/11) Apr 28 2010 http://d.puremagic.com/issues/show_bug.cgi?id=2549
- d-bugmail puremagic.com (10/10) Apr 29 2010 http://d.puremagic.com/issues/show_bug.cgi?id=2549
- d-bugmail puremagic.com (11/11) May 05 2010 http://d.puremagic.com/issues/show_bug.cgi?id=2549
http://d.puremagic.com/issues/show_bug.cgi?id=2549
Summary: Segfault on array multiplication.
Product: D
Version: 2.022
Platform: PC
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: bugzilla digitalmars.com
ReportedBy: dsimcha yahoo.com
import std.stdio;
void main() {
double[] foo = [1.0,2,3,4,5].dup;
writeln(foo[] * 2.0);
}
Output of this program on Win32:
object.Error: Access Violation
[
--
Dec 30 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2549
Hoenir <mrmocool gmx.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mrmocool gmx.de
Also note the following:
float[] a = [0.f, 0.5f, 1.0f, 1.5f, 2.0f, 2.5f];
float[] b = [0.f, 0.5f, 1.0f, 1.5f, 2.0f, 2.5f];
writeln(a[] * b[]); // compiles, but results in access violation
writeln(a[] + b[]); // array operation a[] + b[] not implemented
This bug also is in relation to
http://d.puremagic.com/issues/show_bug.cgi?id=3066
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 17 2010
http://d.puremagic.com/issues/show_bug.cgi?id=2549
Don <clugdbug yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
CC| |clugdbug yahoo.com.au
The patch for bug 3522 fixes this.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 28 2010
http://d.puremagic.com/issues/show_bug.cgi?id=2549
Walter Bright <bugzilla digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla digitalmars.com
21:05:47 PDT ---
Changeset 460
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 29 2010
http://d.puremagic.com/issues/show_bug.cgi?id=2549
Don <clugdbug yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Fixed DMD2.044
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 05 2010









d-bugmail puremagic.com 