Bug 19955 – [ICE] Segmentation fault in StatementSemanticVisitor::visit(SwitchStatement*) at dmd/statementsem.d:2558

Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2019-06-12T18:45:32Z
Last change time
2019-06-15T12:41:07Z
Keywords
pull
Assigned to
No Owner
Creator
Iain Buclaw

Comments

Comment #0 by ibuclaw — 2019-06-12T18:45:32Z
void f() { switch(1) static assert(1); }
Comment #1 by dlang-bot — 2019-06-12T19:13:27Z
@ibuclaw created dlang/dmd pull request #10023 "fix Issue 19955 - [ICE] Segmentation fault in StatementSemanticVisitor::visit(SwitchStatement*)" fixing this issue: - fix Issue 19955 - [ICE] Segmentation fault in StatementSemanticVisitor::visit(SwitchStatement*) https://github.com/dlang/dmd/pull/10023
Comment #2 by dlang-bot — 2019-06-13T00:27:30Z
dlang/dmd pull request #10023 "fix Issue 19955 - [ICE] Segmentation fault in StatementSemanticVisitor::visit(SwitchStatement*)" was merged into stable: - 7fc9b4c3840be9d4df06a402a7024fdc0e9d53a3 by Iain Buclaw: fix Issue 19955 - [ICE] Segmentation fault in StatementSemanticVisitor::visit(SwitchStatement*) https://github.com/dlang/dmd/pull/10023
Comment #3 by dlang-bot — 2019-06-14T00:47:17Z
dlang/dmd pull request #10033 "[dmd-cxx] fix Issue 19955 - [ICE] Segmentation fault in StatementSemanticVisitor::visit(SwitchStatement*)" was merged into dmd-cxx: - 0ade275a9e7b1d7242df2c516eb5688b8e6fc273 by Iain Buclaw: fix Issue 19955 - [ICE] Segmentation fault in StatementSemanticVisitor::visit(SwitchStatement*) https://github.com/dlang/dmd/pull/10033
Comment #4 by dlang-bot — 2019-06-15T12:41:07Z
dlang/dmd pull request #10038 "[dmd-cxx] Backport early return of blockExit" was merged into dmd-cxx: - b7991e4835898a7484bbb1df5521972a3a9c6710 by Iain Buclaw: [dmd-cxx] Backport early return of blockExit Another fix for issue 19955 specific to the C++ branch https://github.com/dlang/dmd/pull/10038