Bug 22409 – importC: [ICE] Error: struct no size because of forward reference
Status
RESOLVED
Resolution
FIXED
Severity
critical
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-10-17T15:31:12Z
Last change time
2021-10-21T21:39:38Z
Keywords
ice-on-valid-code, ImportC, pull, rejects-valid
Assigned to
No Owner
Creator
Iain Buclaw
Comments
Comment #0 by ibuclaw — 2021-10-17T15:31:12Z
Issues error then segfaults.
---
struct S1;
typedef struct S1 {
int f1;
} S1_t;
Comment #1 by dlang-bot — 2021-10-17T16:01:32Z
@ibuclaw created dlang/dmd pull request #13183 "fix Issue 22409 - importC: [ICE] Error: struct no size because of forward reference" fixing this issue:
- fix Issue 22409 - importC: [ICE] Error: struct no size because of forward reference
https://github.com/dlang/dmd/pull/13183
Comment #2 by dlang-bot — 2021-10-18T12:21:27Z
dlang/dmd pull request #13183 "fix Issue 22409 - importC: [ICE] Error: struct no size because of forward reference" was merged into stable:
- 7ed5269845ccdf681da4e3596d5febadf6bce191 by Iain Buclaw:
fix Issue 22409 - importC: [ICE] Error: struct no size because of forward reference
https://github.com/dlang/dmd/pull/13183
Comment #3 by dave287091 — 2021-10-18T19:31:41Z
*** Issue 22260 has been marked as a duplicate of this issue. ***
Comment #4 by dlang-bot — 2021-10-21T21:39:38Z
dlang/dmd pull request #13209 "Merge stable into master" was merged into master:
- a326b7880539a37e96b1796cd1364cbea225e9d8 by Iain Buclaw:
fix Issue 22409 - importC: [ICE] Error: struct no size because of forward reference
https://github.com/dlang/dmd/pull/13209