http://d.puremagic.com/issues/show_bug.cgi?id=6678
Summary: optlink crash with large array of structs Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: diagnostic Severity: normal Priority: P2 Component: Optlink AssignedTo: nob...@puremagic.com ReportedBy: bearophile_h...@eml.cc --- Comment #0 from bearophile_h...@eml.cc 2011-09-15 12:59:56 PDT --- This D2 program: double[7_000_000] array = void; void main() {} DMD 2.055 gives an expected error message: test.d(1): Error: index 7000000 overflow for static array But this similar program: struct Foo { double x /*= 0*/; } Foo[7_000_000] array = void; void main() {} Causes a crash of optlink at EIP=004114FC. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------