www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 6881] New: [XMM] ICE with painted float

reply d-bugmail puremagic.com writes:
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



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: -------
Nov 02 2011
parent d-bugmail puremagic.com writes:
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



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: -------
Dec 07 2011