Comment #0 by dlang-bugzilla — 2007-08-30T19:38:26Z
When trying to compile and link the attached testcase, the linker hangs and starts to continuously write zeroes to the output EXE.
The bug is consistent for me, but it's easy to "break". Changing the file name or removing the underscores at the end of the enum name, or removing some enum members makes the bug go away.
I scrambled the testcase enum member names (it was a real-life example) as it's fairly confidential data. Like I mentioned above, the identifier names don't matter - only their length does. It looks like it's an Off-By-N bug in the linker.
Marked as "critical" as this is hard to isolate, and filling the disk with huge zero-filled files is a Bad Thing.
The command to compile/link (and reproduce) is:
dmd -g testcase.d
Comment #1 by dlang-bugzilla — 2007-08-30T19:39:27Z