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: Invalid result on x86 with forward sub #66242
The following program computes the wrong result in x86 when optimizing.
Reproduction Steps
// Generated by Fuzzlyn v1.5 on 2022-02-27 18:35:07// Run on X86 Windows// Seed: 14567735315501116995// Reduced from 12.1 KiB to 0.5 KiB in 00:01:37// Debug: Outputs 2// Release: Outputs 1publicstructS0{publiculongF1;}publicstructS1{publicS0F6;}publicclassProgram{publicstaticshorts_3;publicstaticvoidMain(){varvr3=newS1();if(vr3.F6.F1<M4(refvr3)){intvr9=s_3++;}System.Console.WriteLine(s_3);}publicstaticuintM4(refS1arg1){intvar0=s_3++;arg1.F6.F1=16700531892663534200UL;return1;}}
Activity
EgorBo commentedon Mar 5, 2022
Address-exposed issue?
Better fix for dotnet#66242
Better fix for #66242 (#66335)