[Issue 9320] Non-POD status of a struct correlated to bad inlining.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 16 05:19:14 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9320



--- Comment #1 from Nicolas Sicard <dransic at gmail.com> 2013-01-16 05:19:13 PST ---
Note, LDC produces equivalent code in both cases:
---

        fld    tbyte ptr 028h[RSP]
        fld    tbyte ptr 018h[RSP]
        fld    ST(0)
        fmul    ST,ST(2)
        fxch    ST(1)
        faddp    ST(2),ST
        fdivp    ST(1),ST
        fld    tbyte ptr 8[RSP]
        fsubp    ST(1),ST
        fstp    tbyte ptr [RDI]
        mov    AX,[0Eh][RIP]
        mov    0Eh[RDI],AX
        mov    EAX,[0Ah][RIP]
        mov    0Ah[RDI],EAX
        ret
---

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list