Summary: cfloat to cdouble conversion is broken when using xmm
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: wrong-code
          Severity: major
          Priority: P2
         Component: DMD

--- Comment #0 from yebblies <> 2012-02-27 03:20:00 EST ---
cdcnvt checks to see if the types are complex too late, if xmm registers are
used this check is never reached and the wrong code is generated.

cdouble conv(cfloat a)
    return a;
void main()
    assert(conv(1.0f+1.0fi) == 1.0+1.0i);

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to