November 02, 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@puremagic.com
        ReportedBy: dawg@dawgfoto.de


--- Comment #0 from dawg@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: -------
December 07, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6881


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |bugzilla@digitalmars.com
         Resolution|                            |FIXED


--- Comment #1 from Walter Bright <bugzilla@digitalmars.com> 2011-12-07 14:56:50 PST ---
https://github.com/D-Programming-Language/dmd/commit/0ebfc7fbc6cc4d51c98e099c3effa1341f58c837

https://github.com/D-Programming-Language/dmd/commit/0ebfc7fbc6cc4d51c98e099c3effa1341f58c837

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