Skip to content

JIT: flow opts does an incorrect pred list update #56495

Description

@AndyAyersMS

Repro case is:

// Generated by Fuzzlyn v1.2 on 2021-07-07 08:13:57// Seed: 11738605779775786426// Reduced from 155.0 KiB to 0.5 KiB in 00:30:58// Crashes the runtimepublicclassProgram{staticbools_1;publicstaticvoidMain(){ulongvr1=0;for(intvr2=0;vr2<0;vr2++){if(s_1){try{}finally{vr1=vr1;}}else{if(s_1){boolvr3=s_1;}}}}}

and it leads to a jit assert

Assert failure(PID 20200 [0x00004ee8], Thread: 24136 [0x5e48]): Assertion failed 'i < BitSetTraits::GetSize(env)' in 'Program:Main()' during 'Compute blocks reachability' (IL size 41)

See #56184 (comment) and following comments for more details.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions