You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JIT: (bug) call argument evaluation reverses two volatile reads #133524
The count is timing-dependent but was non-zero on every run (9, 199, 413).
The generated code for a two-reference variant shows the reversal deterministically
(Sink(Volatile.Read(ref first), Volatile.Read(ref second) + 1) under DOTNET_JitDisasm):
movedx, dword ptr [rdx] ; read for the SECOND argumentincedxmovecx, dword ptr [rcx] ; read for the FIRST argumentcall Sink
Activity
dotnet-policy-service commentedon Sep 9, 2026
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.
[-]JIT: call argument evaluation reverses two volatile reads[/-][+]JIT: (bug) call argument evaluation reverses two volatile reads[/+]EgorBo commentedon Sep 18, 2026
Affected SDK versions: