[Issue 18197] [REG2.073] Internal error: backend\cgcod.c 1659

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Jan 14 23:03:18 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18197

Rainer Schuetze <r.sagitario at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario at gmx.de

--- Comment #1 from Rainer Schuetze <r.sagitario at gmx.de> ---
Corrected test case:

struct A
{
    double a;
}

A makeA(double value)
{
    return A(value);
}

double test(double x)
{
    ulong p = *cast(ulong *)&x;
    return makeA(x).a;
}

--


More information about the Digitalmars-d-bugs mailing list