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

           Summary: [ICE](init.c line 660) with global struct of double2
                    field with default initializer
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from [email protected] 2013-06-25 03:18:32 PDT ---
import core.simd: double2;
struct Foo {
    double2 ab = [0.0, 0.0];
}
Foo f = Foo();
void main() {}


DMD 2.064alpha gives:

Assertion failure: '0' on line 660 in file 'init.c'


This gives the same error:


import core.simd: double2;
struct Foo {
    double2 ab = [0.0, 0.0];
}
void foo(Foo f=Foo()) {}
void main() {}


This rejects-valid affects the usage of SIMD registers in my code. See also
Issue 10450

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

Reply via email to