[Issue 6665] Regression(2.055) ICE(cg87.c): static double inside closure

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Oct 13 10:54:02 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6665


David Simcha <dsimcha at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dsimcha at yahoo.com


--- Comment #4 from David Simcha <dsimcha at yahoo.com> 2011-10-13 10:53:08 PDT ---
FWIW, I've found another way to reproduce this bug:

import std.range, std.algorithm;

double fun(double x) { return x; }

void main() {
    map!(fun)(indexed([1.0, 2], [0, 1]));
}

Using DMD64 on Linux (This is a 64-bit specific issue, adding -m32 makes it go
away.  It also only happens with -release.)

dmd test.d -release
Internal error: ../ztc/cg87.c 202

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list