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

ARM32: JIT seemingly reads wrong field #57065

Closed
jakobbotsch opened this issue Aug 9, 2021 · 3 comments
Closed

ARM32: JIT seemingly reads wrong field #57065

jakobbotsch opened this issue Aug 9, 2021 · 3 comments
Assignees
Labels
arch-arm32 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-06 19:31:41
// Run on .NET 6.0.0-dev on Arm Linux
// Seed: 5500224797583134883
// Reduced from 62.7 KiB to 0.5 KiB in 00:01:25
// Debug: Prints 0 line(s)
// Release: Prints 1 line(s)
struct S0
{
    public int F0;
    public short F1;
    public int F2;
    public bool F3;
}

class C0
{
    public ushort F1;
}

public class Program
{
    static S0[, ] s_1 = new S0[, ]{{new S0()}};
    static C0 s_4 = new C0();
    public static void Main()
    {
        S0 vr0 = default(S0);
        long vr1 = vr0.F0++;
        s_1[0, 0] = vr0;
        if (s_1[0, 0].F3)
        {
            ushort vr2 = s_4.F1;
            System.Console.WriteLine(vr2);
        }
    }
}
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label Aug 9, 2021
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

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

it appeared to be a different issue, not a VN one. Will take a look tomorrow.

@sandreenko
Copy link
Contributor

It was fixed by @jakobbotsch in #57279.

@ghost ghost locked as resolved and limited conversation to collaborators Sep 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm32 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

No branches or pull requests

3 participants