[Issue 12847] New: iota.cycle with 64-bit step causes ICE in comsub
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Tue Jun 3 08:28:07 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=12847
Issue ID: 12847
Summary: iota.cycle with 64-bit step causes ICE in comsub
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: DMD
Assignee: nobody at puremagic.com
Reporter: kirsybuu at gmail.com
import std.range;
void main() {
auto r1 = iota(0uL, 10uL, 1uL).cycle();
}
---
$ dmd -O -inline bug_cgcod.d
Internal error: backend/cgcod.c 2304
$ latest/dmd/src/dmd -O -inline bug_cgcod.d
DMD v2.066-devel-7b7e68a DEBUG
couldn't find cse e = 0xe36cdd0, pass = 0
el:0xe36cdd0 cnt=1 cs=0 + TY* 0xe36b308 0xd2933c8
el:0xe36b308 cnt=9 cs=1 var TY* this
el:0xd2933c8 cnt=1 cs=255 const TYuns long long 16LL
Internal error: backend/cgcod.c 2304
--
More information about the Digitalmars-d-bugs
mailing list