Bug 17915 – [REG 2.073] core.exception.AssertError@ddmd/optimize.d(614): Assertion failure

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2017-10-19T01:09:54Z
Last change time
2020-03-21T03:56:38Z
Keywords
ice
Assigned to
No Owner
Creator
Iain Buclaw

Comments

Comment #0 by ibuclaw — 2017-10-19T01:09:54Z
First raised against gdc here: https://bugzilla.gdcproject.org/show_bug.cgi?id=274 Minimal test case. --- void f() { static class MyClass { MySmartPointer!MyClass m_member; } } struct MySmartPointer (T) { T owner; } --- Checked via git blame and confirmed that it was introduced by https://github.com/dlang/dmd/pull/6412
Comment #1 by bugzilla — 2017-11-02T07:28:26Z
Comment #2 by github-bugzilla — 2017-11-03T08:17:44Z
Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/dd2fcfa3278dda8d5d1109365ef53f7c92dd1276 fix Issue 17915 - [REG 2.073] core.exception.AssertError@ddmd/optimize.d(614): Assertion failure https://github.com/dlang/dmd/commit/1fa67d062b8d755b11722ea112af63cb34cc06b7 Merge pull request #7278 from WalterBright/fix17915 fix Issue 17915 - [REG 2.073] core.exception.AssertError@ddmd/optimiz… merged-on-behalf-of: Iain Buclaw <[email protected]>
Comment #3 by github-bugzilla — 2017-12-18T22:56:28Z
Commits pushed to stable at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/dd2fcfa3278dda8d5d1109365ef53f7c92dd1276 fix Issue 17915 - [REG 2.073] core.exception.AssertError@ddmd/optimize.d(614): Assertion failure https://github.com/dlang/dmd/commit/1fa67d062b8d755b11722ea112af63cb34cc06b7 Merge pull request #7278 from WalterBright/fix17915