Skip to content

JIT: Invalid widening tailcalls in runtime async functions #119060

@jakobbotsch

Description

@jakobbotsch
// Generated by Fuzzlyn v3.3 on 2025-08-23 16:43:10
// Run on Arm Linux
// Seed: 864706957322375513-async,runtimeasync
// Reduced from 215.2 KiB to 0.4 KiB in 00:04:01
// Release: Outputs 4294967295
// Release with Runtime Async: Outputs 255
using System.Threading.Tasks;

public class Program
{
    public static sbyte s_38 = -1;
    public static void Main()
    {
        uint vr0 = (uint)M29().GetAwaiter().GetResult();
        System.Console.WriteLine(vr0);
    }

    public static async Task<short> M29()
    {
        return await M40();
    }

    public static async Task<sbyte> M40()
    {
        await Task.Yield();
        return s_38;
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIruntime-async

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions