[Issue 11655] New: assignment of struct with vector field

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 30 11:20:30 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11655

           Summary: assignment of struct with vector field
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: code at dawg.eu


--- Comment #0 from Martin Nowak <code at dawg.eu> 2013-11-30 11:20:29 PST ---
cat > bug.d << CODE
struct Foo
{
    __vector(float[4]) x;
}

void bug()
{
    Foo y;
    y = Foo([0, 0, 0, 0]); // OK
    y = Foo();             // NG
}
CODE
dmd -c bug

----
tym = x1d
Internal error: backend/cgxmm.c 547
----

The function xmmload is called with TYnptr.

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


More information about the Digitalmars-d-bugs mailing list