Bug 12847 – iota.cycle with 64-bit step causes ICE in comsub

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2014-06-03T15:28:00Z
Last change time
2017-01-16T14:59:26Z
Keywords
ice, ice-on-valid-code
Assigned to
nobody
Creator
kirsybuu

Comments

Comment #0 by kirsybuu — 2014-06-03T15:28:07Z
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