www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13969] New: [ICE] (backend\cgcod.c 2309) with

https://issues.dlang.org/show_bug.cgi?id=13969

          Issue ID: 13969
           Summary: [ICE] (backend\cgcod.c 2309) with cycle(iota(a,b,s))
           Product: D
           Version: D2
          Hardware: x86
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: bearophile_hugs eml.cc

void main() {
    import std.range: iota, cycle;
    auto c = cycle(iota(3, 0, -1));
}

Internal error: backend\cgcod.c 2309


I compile with:
dmd -O -inline test.d

--
Jan 12 2015