[Issue 6881] New: [XMM] ICE with painted float

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Nov 2 08:34:42 PDT 2011


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

           Summary: [XMM] ICE with painted float
           Product: D
           Version: D2
          Platform: x86_64
        OS/Version: Linux
            Status: NEW
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: dawg at dawgfoto.de


--- Comment #0 from dawg at dawgfoto.de 2011-11-02 08:34:12 PDT ---
struct Point
{
    float _x, _y;

    void rotateCCW()
    {
        float tmp = -_x;
        _x = _y;
        _y = tmp;
    }
}

----

Compile this struct with -O.
findreg(x0, line=660, file='backend/cod4.c')
Internal error: backend/cgcod.c 1178

This is probably again an effect of painting -x as integral in eleq
and later trying to assign it to an XMM reg.

-- 
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