Bug 21684 – Assert fail for Win32 with a struct larger than 64k in size

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2021-03-07T01:25:38Z
Last change time
2021-03-09T07:36:01Z
Keywords
ice-on-invalid-code, pull
Assigned to
No Owner
Creator
Walter Bright

Comments

Comment #0 by bugzilla — 2021-03-07T01:25:38Z
struct S { int[100_000] a; } assert fails in cgobj.d line 2754, because the object file format cannot handle larger sizes.
Comment #1 by dlang-bot — 2021-03-09T06:55:06Z
@WalterBright created dlang/dmd pull request #12261 "fix Issue 21684 - Assert fail for Win32 with a struct larger than 64k…" fixing this issue: - fix Issue 21684 - Assert fail for Win32 with a struct larger than 64k in size https://github.com/dlang/dmd/pull/12261
Comment #2 by dlang-bot — 2021-03-09T07:36:01Z
dlang/dmd pull request #12261 "fix Issue 21684 - Assert fail for Win32 with a struct larger than 64k…" was merged into master: - 4664d30829040da4486ffb13468fe4683d74555f by Walter Bright: fix Issue 21684 - Assert fail for Win32 with a struct larger than 64k in size https://github.com/dlang/dmd/pull/12261