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) Struct copy through the GC bulk-copy helper faults on the destination before the source expression is evaluated #133587
Both sides of the assignment must be evaluated before the copy can fault, but the destination null
check runs as soon as the destination address is computed, so the call on the right-hand side is
skipped entirely. Reducing Big to three object fields (which no longer uses the bulk-copy helper)
prints the expected log=[Index;GetSrc;].
Platform
Windows x64, .NET 11 (dotnet/runtime main @ a0b86b1, Checked build), DOTNET_TieredCompilation=0.
No special CPU features. Also reproduces identically on the Release build.
Activity
dotnet-policy-service commentedon Sep 10, 2026
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.
MihuBot commentedon Sep 10, 2026
I'm a bot. Here is a possible related and/or duplicate issue (I may be wrong):
JIT: Preserve evaluation order in GC bulk copies (#133805)
EgorBo commentedon Sep 18, 2026
Affected SDK versions:
JIT: Preserve evaluation order in GC bulk copies (dotnet#133805)