--- Comment #2 from Lars T. Kyllingstad <> 2010-01-14 
06:56:27 PST ---
You may be right. But consider the following:

* The "Arrays" page on the D homepage says that "The total size of a static
array cannot exceed 16Mb." I am only allocating half of that.

* When I've run my example, it has *always* caused a segmentation fault.

* The following, on the other hand, has so far *never* caused a segmentation
fault on my machine:

void main()
  double[1_000_000] a;
  for (i; 0 .. a.length)  a[i] = 1.0;

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to