D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 21684 - Assert fail for Win32 with a struct larger than 64k in size
Summary: Assert fail for Win32 with a struct larger than 64k in size
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86 Windows
: P1 normal
Assignee: No Owner
URL:
Keywords: ice-on-invalid-code, pull
Depends on:
Blocks:
 
Reported: 2021-03-07 01:25 UTC by Walter Bright
Modified: 2021-03-09 07:36 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Walter Bright 2021-03-07 01:25:38 UTC
struct S { int[100_000] a; }

assert fails in cgobj.d line 2754, because the object file format cannot handle larger sizes.
Comment 1 Dlang Bot 2021-03-09 06:55:06 UTC
@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 Dlang Bot 2021-03-09 07:36:01 UTC
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