(Not to be confused with -debug and -release DMD options) I finally managed to cut that sucker down (took me almost entire day to track it down and reduce to reasonable size)! The test case is attached, compile it as follows: dmd -c -d thread.d Tested on DMD2.032, Windows only. I believe Debug version produces corrupted binaries as linking sometimes fails giving me a "library is corrupted" message. I should add that this one is very annoying as it prevents ddmd from working properly (it only works in debug mode ATM and debug version of backend produces odd binaries).
Created attachment 523 [details] Test case that reproduces described behavior Based off druntime/core/thread.d file
Changeset 293 gets them to produce the same .obj files, but both ways were within spec and I've never seen either produce a "library is corrupted" message. So I'll set this as fixed, and if the corruption message appears again, please file a new issue.
Fixed dmd 1.054 and 2.038
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル