[release/9.0-staging] [mono] Workaround MSVC miscompiling sgen_clz by github-actions[bot] · Pull Request #114903 · dotnet/runtime
After the recent VS upgrade from 17.12.5 to 17.13.2 we started seeing access violations in the mono-aot-cross.exe when targetting wasm. We tracked it down to sgen_clz being miscompiled, we can workaround the compiler bug by switching from ternary condition to if/else.
This was referenced
Apr 22, 2025
akoeplinger
deleted the
backport/pr-114786-to-release/9.0-staging
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters