Skip to content

JIT: Assertion failed 'foundEndLFin' during 'Remove empty try 2' #115700

@jakobbotsch

Description

@jakobbotsch
// Generated by Fuzzlyn v3.0 on 2025-05-18 16:32:05
// Run on X86 Windows
// Seed: 16064612445952557242-vectort,vector128,vector256,x86aes,x86avx,x86avx2,x86avx512bw,x86avx512bwvl,x86avx512cd,x86avx512cdvl,x86avx512dq,x86avx512dqvl,x86avx512f,x86avx512fvl,x86bmi1,x86bmi2,x86fma,x86lzcnt,x86pclmulqdq,x86popcnt,x86sse,x86sse2,x86sse3,x86sse41,x86sse42,x86ssse3,x86x86base
// Reduced from 104.0 KiB to 0.7 KiB in 00:06:27
// Hits JIT assert in Release:
// Assertion failed 'foundEndLFin' in 'Program:Main(Fuzzlyn.ExecutionServer.IRuntime)' during 'Remove empty try 2' (IL size 82; hash 0xade6b36b; FullOpts)
// 
//     File: D:\a\_work\1\s\src\coreclr\jit\fgehopt.cpp Line: 1903
// 
using System;
using System.Numerics;
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.X86;

public class C0
{
    public bool F5;
    public uint F6;
}

public class Program
{
    public static C0 s_3;
    public static ushort s_13;
    public static void Main()
    {
        C0 vr0 = new C0();
        try
        {
            vr0.F6 = 0;
        }
        finally
        {
            for (uint vr1 = 0; vr1 < 1; vr1++)
            {
                s_13 -= s_13;
                s_3.F5 |= false;
                vr0.F5 = vr0.F5 && false;
                throw new System.Exception();
            }
        }
    }
}

cc @dotnet/jit-contrib

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions