[Issue 10473] New: [ICE](init.c line 660) with global struct of double2 field with default initializer
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Jun 25 03:18:33 PDT 2013
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: nobody at puremagic.com
ReportedBy: bearophile_hugs at eml.cc
--- Comment #0 from bearophile_hugs at eml.cc 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: -------
More information about the Digitalmars-d-bugs
mailing list