http://d.puremagic.com/issues/show_bug.cgi?id=7593
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 AssignedTo: yebbl...@gmail.com ReportedBy: yebbl...@gmail.com --- Comment #0 from yebblies <yebbl...@gmail.com> 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: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------