Skip to content

Commit

Permalink
Drop MSVC optimizations to O1
Browse files Browse the repository at this point in the history
Due to probable miscompilation/crash in 19.40 (#4103)
  • Loading branch information
randombit committed Jun 7, 2024
1 parent bf8bbee commit b35690b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build-data/cc/msvc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ add_lib_option "%s.lib"

compile_flags "/nologo /c"

optimization_flags "/O2 /Oi /Zc:throwingNew"
optimization_flags "/O1 /Zc:throwingNew"
size_optimization_flags "/O1 /Os"

# for debug info in the object file (required if using sccache):
Expand Down

0 comments on commit b35690b

Please sign in to comment.