Bug 13695 – DMD segfaults on simple nonsense code

Status
RESOLVED
Resolution
INVALID
Severity
minor
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86
OS
All
Creation time
2014-11-07T07:32:00Z
Last change time
2014-11-07T07:49:19Z
Assigned to
nobody
Creator
ketmar

Comments

Comment #0 by ketmar — 2014-11-07T07:32:48Z
i was looking for another segfault, but dustmide just found this one: void z (auto) yes, that's all. you can change 'auto' to any other qualifier: 'const', 'out', 'in', 'ref', it doesn't matter. seems like a long-standing parser bug, 'cause GDC is affected too.
Comment #1 by ketmar — 2014-11-07T07:49:19Z
ah, damn it! it's my DMD patches again! vanilla DMD works ok, so i was wrong, there is no bug.