Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions test/d_do_test.d
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,11 @@ int main(string[] args)
(testArgs.mode == TestMode.FAIL_COMPILE ? "-verrors=0 " : null) ~
testArgs.requiredArgs;

// https://issues.dlang.org/show_bug.cgi?id=10664: exceptions don't work reliably with COMDAT folding
// it also slows down some tests drastically, e.g. runnable/test17338.d
if (msc)
reqArgs ~= " -L/OPT:NOICF";

string compile_output;
if (!testArgs.compileSeparately)
{
Expand Down