Bug 13987 – Invalid struct segfaults

Status
RESOLVED
Resolution
FIXED
Severity
major
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-01-15T18:46:00Z
Last change time
2015-01-19T10:21:36Z
Keywords
ice, pull
Assigned to
nobody
Creator
erictsau

Comments

Comment #0 by erictsau — 2015-01-15T18:46:53Z
struct S {} S s = [{}]; causes a Segmentation fault (core dumped) error when attempting to compile with dmd.
Comment #1 by k.hara.pg — 2015-01-19T09:11:13Z
Comment #2 by github-bugzilla — 2015-01-19T10:21:35Z
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/56e835e95fb630f71775663672a307a215a810bb fix Issue 13987 - Invalid struct segfaults https://github.com/D-Programming-Language/dmd/commit/12fbc44a1439d336cf592fa604cacebad4e86866 Merge pull request #4310 from 9rnsr/fix13987 Issue 13987 - Invalid struct segfaults