[Issue 8778] Struct with core.simd type has wrong size and gives Segmentation fault
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sun Apr 24 23:46:11 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=8778
Walter Bright <bugzilla at digitalmars.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |bugzilla at digitalmars.com
Resolution|--- |WORKSFORME
--- Comment #3 from Walter Bright <bugzilla at digitalmars.com> ---
I can't reproduce the errors described with the current compiler.
But I also suspect you should make the structs 'static'. Non-static structs
declared in a function have a hidden extra field added which is a dynamic link
to the enclosing function's stack frame.
--
More information about the Digitalmars-d-bugs
mailing list