Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARM64 incorrect result when expression involves modulo by 1 #56935

Closed
jakobbotsch opened this issue Aug 5, 2021 · 1 comment · Fixed by #57160
Closed

ARM64 incorrect result when expression involves modulo by 1 #56935

jakobbotsch opened this issue Aug 5, 2021 · 1 comment · Fixed by #57160
Assignees
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Milestone

Comments

@jakobbotsch
Copy link
Member

// Generated by Fuzzlyn v1.2 on 2021-08-05 18:05:30
// Run on Arm64 Linux, .NET 6.0.0-preview.6.21352.12
// Seed: 4981337257535941695
// Reduced from 46.6 KiB to 0.2 KiB in 00:02:15
// Debug: Outputs 1
// Release: Outputs 0
public class Program
{
    static int s_2;
    public static void Main()
    {
        int vr13 = 0;
        s_2 = 1 + (1 % (vr13 + 1));
        System.Console.WriteLine(s_2);
    }
}

cc @dotnet/jit-contrib

@dotnet-issue-labeler dotnet-issue-labeler bot added area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI untriaged New issue has not been triaged by the area owner labels Aug 5, 2021
@JulieLeeMSFT JulieLeeMSFT removed the untriaged New issue has not been triaged by the area owner label Aug 5, 2021
@JulieLeeMSFT JulieLeeMSFT added this to the 6.0.0 milestone Aug 5, 2021
@JulieLeeMSFT
Copy link
Member

CC @dotnet/jit-contrib

@JulieLeeMSFT JulieLeeMSFT assigned echesakov and unassigned echesakov and EgorBo Aug 5, 2021
echesakov added a commit to echesakov/runtime that referenced this issue Aug 10, 2021
@ghost ghost added the in-pr There is an active PR which will close this issue when it is merged label Aug 10, 2021
@ghost ghost removed the in-pr There is an active PR which will close this issue when it is merged label Aug 17, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Sep 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants