Bug 19336 – [ICE] segfault on invalid code

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Mac OS X
Creation time
2018-10-27T10:37:37Z
Last change time
2019-06-16T20:57:32Z
Assigned to
No Owner
Creator
Paolo Invernizzi

Comments

Comment #0 by paolo.invernizzi — 2018-10-27T10:37:37Z
OSX, dmd 2.083.0 beta 1 and master --- struct Foo { Template!() a(a.x); } --- dmd -c -o- app.d app.d(3): Error: template instance `Template!()` template Template is not defined Segmentation fault: 11
Comment #1 by razvan.nitu1305 — 2018-11-01T13:03:30Z
Comment #2 by github-bugzilla — 2018-11-02T07:10:43Z
Commit pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/a871becfb3a9b8de8122106d2b2a9060407812d0 Fix Issue 19336 - [ICE] segfault on invalid code
Comment #3 by dlang-bot — 2019-06-16T20:57:32Z
dlang/dmd pull request #10046 "[dmd-cxx] Backport semanticRun refactoring and recursive semantic SEGV bug fixes" was merged into dmd-cxx: - e57883c325210ea20a053a8a3b0de3cf583cddf2 by RazvanN7: Fix Issue 19336 - [ICE] segfault on invalid code https://github.com/dlang/dmd/pull/10046