Bug 19609 – [ICE] dmd/expression.d(2790): Segmentation fault

Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2019-01-23T17:56:00Z
Last change time
2019-03-10T16:44:14Z
Assigned to
No Owner
Creator
Iain Buclaw

Comments

Comment #0 by ibuclaw — 2019-01-23T17:56:00Z
Minimal test(s) --- deprecated([]) module m; --- deprecated([""]) module m; --- deprecated(['a']) module m; --- deprecated(["a"]) module m; --- All cause a segmentation fault in ArrayLiteralExp::toStringExp().
Comment #1 by ibuclaw — 2019-01-27T01:41:27Z
Should be using semanticString, and delay looking at the module deprecation message until the module-level scope has been created.
Comment #2 by github-bugzilla — 2019-01-28T08:24:01Z
Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/9843286ed0a0ad46b7bce41a265f18b4714601b0 fix Issue 19609 - [ICE] dmd/expression.d(2790): Segmentation fault https://github.com/dlang/dmd/commit/1cfb6d9f9fda4831578b8ecd53c97086464782f5 Merge pull request #9300 from ibuclaw/issue19609 fix Issue 19609 - [ICE] dmd/expression.d(2790): Segmentation fault
Comment #3 by github-bugzilla — 2019-01-29T00:14:29Z
Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/8ed467413e1507e4d87c5dbfd406e290ab188a6a fix Issue 19609 - [ICE] dmd/expression.d(2790): Segmentation fault (part 2) https://github.com/dlang/dmd/commit/a65c95fb41d9251fead258eaa9973d53141fff59 Merge pull request #9304 from ibuclaw/test19609b fix Issue 19609 - [ICE] dmd/expression.d(2790): Segmentation fault (part 2) merged-on-behalf-of: Nicholas Wilson <[email protected]>
Comment #4 by dlang-bot — 2019-03-07T16:32:20Z
dlang/dmd pull request #9427 "[dmd-cxx] fix Issue 19609 - [ICE] dmd/expression.d(2790): Segmentation fault" was merged into dmd-cxx: - 0b7b1c49516d11e5d1238be79c579f841da58193 by Iain Buclaw: fix Issue 19609 - [ICE] dmd/expression.d(2790): Segmentation fault https://github.com/dlang/dmd/pull/9427
Comment #5 by dlang-bot — 2019-03-10T16:44:14Z
dlang/dmd pull request #9436 "[dmd-cxx] fix Issue 19609 - [ICE] dmd/expression.d(2790): Segmentation fault (part 2)" was merged into dmd-cxx: - 2868ba75051dc2d5b640fed7e1fb8342eecbd23f by Iain Buclaw: fix Issue 19609 - [ICE] dmd/expression.d(2790): Segmentation fault (part 2) https://github.com/dlang/dmd/pull/9436