[Issue 18772] New: [ICE] Internal error: dmd\backend\cgcod.c 607

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Apr 17 16:33:54 UTC 2018


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 at puremagic.com
          Reporter: aliloko at 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

--


More information about the Digitalmars-d-bugs mailing list