← Back to index
|
Original Bugzilla link
Bug 23089 – Linkage-related ICE regression in v2.100.0-rc.1
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2022-05-04T15:59:38Z
Last change time
2022-05-05T13:56:26Z
Keywords
pull
Assigned to
No Owner
Creator
kinke
Comments
Comment #0
by kinke — 2022-05-04T15:59:38Z
This crashes v2.100.0-rc.1+: ``` extern(System): alias F = void function(int); F f; ``` Output: ``` linkage = 6, vd = variable f @ [current.d(4)] Illegal instruction ```
Comment #1
by kinke — 2022-05-04T16:00:49Z
Oh, even shorter: `extern(System) int a;`
Comment #2
by ibuclaw — 2022-05-04T16:09:21Z
Introduced by
https://github.com/dlang/dmd/pull/13942
Comment #3
by dlang-bot — 2022-05-04T21:08:13Z
@ibuclaw created dlang/dmd pull request #14074 "fix Issue 23089 - Linkage-related ICE regression in v2.100.0-rc.1" fixing this issue: - fix Issue 23089 - Linkage-related ICE regression in v2.100.0-rc.1
https://github.com/dlang/dmd/pull/14074
Comment #4
by dlang-bot — 2022-05-05T13:56:26Z
dlang/dmd pull request #14074 "fix Issue 23089 - Linkage-related ICE regression in v2.100.0-rc.1" was merged into stable: - c23195dfa29e3b9297088f0c3632882e2ce41e59 by Iain Buclaw: fix Issue 23089 - Linkage-related ICE regression in v2.100.0-rc.1
https://github.com/dlang/dmd/pull/14074