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 computed with modulo operation #71600
// Generated by Fuzzlyn v1.5 on 2022-07-03 14:40:52// Run on Arm64 MacOS// Seed: 5960657379714964908// Reduced from 328.5 KiB to 0.8 KiB in 00:02:08// Debug: Outputs 0// Release: Outputs 1publicstructS0{publiclongF0;publiclongF1;publicS0(longf1):this(){F1=f1;}}publicstructS1{publicuintF1;publicushortF2;publicS0F4;publicS1(ulongf5):this(){}publiclongM82(refshort[]arg0){Program.s_13=this.F1++;S1var1=newS1(0);returnProgram.s_39[0].F1;}}publicclassProgram{publicstaticuints_13;publicstaticshort[]s_28;publicstaticS0[]s_39;publicstaticvoidMain(){S0[]vr2=newS0[]{newS0(-1)};s_39=vr2;S1vr3=default(S1);M80(vr3);}publicstaticvoidM80(S1arg0){arg0.F2+=(ushort)(arg0.F1%(uint)arg0.M82(refs_28));System.Console.WriteLine(arg0.F2);}}
Activity
ghost added
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Activity
jakobbotsch commentedon Jul 4, 2022
The mod transform reorders the read of
arg0.F1and the function callarg0.M82(...):This is probably exposed by recent local morph changes causing us to forward sub the access of
arg0.F1.