Issue 23574 - ICE: AssertError@src/dmd/optimize.d(866): Assertion failure
Summary: ICE: AssertError@src/dmd/optimize.d(866): Assertion failure
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P2 critical
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2022-12-22 19:39 UTC by Iain Buclaw
Modified: 2023-01-01 06:25 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Iain Buclaw 2022-12-22 19:39:52 UTC
Reduced from https://github.com/dlang/dmd/pull/14726
---
module object;

class Object
{
}

bool opEquals(LHS, RHS)(LHS lhs, RHS)
{
    opEquals(cast()lhs);
}

class TypeInfo
{
}

bool _xopEquals()
{
}

const(char)SDL_GetKeyName()
{
    class MyClass
    {
        S17915!MyClass m_member;
    }
}

struct S17915(T)
{
    T owner;
}
Comment 1 Dlang Bot 2022-12-22 20:19:44 UTC
@ibuclaw created dlang/dmd pull request #14736 "fix Issue 23574 - ICE: AssertError@src/dmd/optimize.d(866): Assertion failure" fixing this issue:

- fix Issue 23574 - ICE: AssertError@src/dmd/optimize.d(866): Assertion failure

https://github.com/dlang/dmd/pull/14736
Comment 2 Dlang Bot 2022-12-23 07:51:27 UTC
dlang/dmd pull request #14736 "fix Issue 23574 - ICE: AssertError@src/dmd/optimize.d(866): Assertion failure" was merged into stable:

- ba7d0a49bdc75cb5034499da1983943d7ab735df by Iain Buclaw:
  fix Issue 23574 - ICE: AssertError@src/dmd/optimize.d(866): Assertion failure

https://github.com/dlang/dmd/pull/14736
Comment 3 Dlang Bot 2023-01-01 06:25:15 UTC
dlang/dmd pull request #14765 "merge stable" was merged into master:

- 9b4c82e51618a4c5246be61fc8e51aed5c6feb21 by Iain Buclaw:
  fix Issue 23574 - ICE: AssertError@src/dmd/optimize.d(866): Assertion failure (#14736)

https://github.com/dlang/dmd/pull/14765