Skip to content

Make missed dynamic-cast lowerings in the frontend a proper ICE - #5236

Merged
kinke merged 1 commit into
ldc-developers:masterfrom
kinke:dyncast_ice
Jul 31, 2026
Merged

Make missed dynamic-cast lowerings in the frontend a proper ICE#5236
kinke merged 1 commit into
ldc-developers:masterfrom
kinke:dyncast_ice

Conversation

@kinke

@kinke kinke commented Jul 31, 2026

Copy link
Copy Markdown
Member

Since we had multiple reports of related frontend regressions (IIRC, since D v2.112), so we cannot use an llvm_unreachable which gets optimized away and causes weird other error messages about Objective-C.

Since we had multiple reports of related frontend regressions
(IIRC, since D v2.112), so we cannot use an `llvm_unreachable`
which gets optimized away and causes weird other error messages
about Objective-C.
@kinke
kinke merged commit 9414b66 into ldc-developers:master Jul 31, 2026
21 checks passed
@kinke
kinke deleted the dyncast_ice branch July 31, 2026 10:35
@rainers

rainers commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Is this related to this: dlang/dmd#23263 ?

@kinke

kinke commented Jul 31, 2026

Copy link
Copy Markdown
Member Author

Not sure, but definitely to dlang/dmd#22422 and dlang/dmd#22681.

kinke added a commit that referenced this pull request Aug 2, 2026
…roper ICE (#5247)

Analogous to #5236, which missed interfaces.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants