www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13164] New: ICE: backend/cgcod.c 1589


          Issue ID: 13164
           Summary: ICE: backend/cgcod.c 1589
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: ibuclaw gdcproject.org

ICE found when looking over the autotester for:

Only reproducible when compiling with -O

float I(float J)
    float Q;
    uint *S = cast(uint *)&Q;
    uint *X = cast(uint *)&J;

    if (X[0])
        *S = *X;

    return Q;

Jul 19 2014