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: [email protected]
Reporter: [email protected]
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
--