digitalmars.D.bugs - [Issue 18772] New: [ICE] Internal error: dmd\backend\cgcod.c 607
- d-bugmail puremagic.com (33/33) Apr 17 2018 https://issues.dlang.org/show_bug.cgi?id=18772
https://issues.dlang.org/show_bug.cgi?id=18772 Issue ID: 18772 Summary: [ICE] Internal error: dmd\backend\cgcod.c 607 Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: aliloko gmail.com Please consider the following program: -------- main.d -------------- float fun(cfloat z) { return z.re; } void main() { cfloat[1] A; float[1] B; int i = 0; double C = fun(A[i] * B[i]); } -------------------------------- Build it with DMD D Compiler v2.079.0 in 64-bit $ rdmd -m32 main.d (Builds and run without problem) $ rdmd -m64 main.d Internal error: dmd\backend\cgcod.c 607 --
Apr 17 2018