Skip to content

JIT: Bad result on arm32 #113321

@jakobbotsch

Description

@jakobbotsch
// Generated by Fuzzlyn v2.4 on 2025-03-09 16:36:14
// Run on Arm Linux
// Seed: 13540383471703664398
// Reduced from 54.8 KiB to 0.6 KiB in 00:00:43
// Debug: Outputs 0
// Release: Outputs 1
using System;

public struct S0
{
    public short F0;
    public sbyte F2;
}

public class Program
{
    public static IRuntime s_rt;
    public static void Main()
    {
        s_rt = new Runtime();
        var vr1 = new S0();
        M6(vr1, 1);
    }

    public static void M6(S0 arg0, short arg1)
    {
        arg1 = arg0.F0;
        s_rt.WriteLine(arg1);
    }
}

public interface IRuntime
{
    void WriteLine<T>(T value);
}

public class Runtime : IRuntime
{
    public void WriteLine<T>(T value) => System.Console.WriteLine(value);
}

cc @dotnet/jit-contrib

Metadata

Metadata

Assignees

Labels

arch-arm32area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIin-prThere is an active PR which will close this issue when it is merged

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions