-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[release/6.0] Consider finally that jumps to itself as non-empty #58881
Conversation
Tagging subscribers to this area: @JulieLeeMSFT Issue DetailsBackport of #58771 to release/6.0 /cc @kunalspathak Customer ImpactTestingRisk
|
CC @jeffschwMSFT for 6.0 backport. |
Please fill in the customer impact and request a code review. |
@AndyAyersMS , @dotnet/jit-contrib |
Did you look at what happens in release if we don't fix this issue? |
In release it works as expected, but it wrongly sets the |
I agree this is very low risk, so I'm ok with us porting it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved.
Backport of #58771 to release/6.0
/cc @kunalspathak
Customer Impact
If there is an infinite loop inside finally, we will not cleanly remove the unreachable blocks inside finally clause.
Testing
The change was locally tested. I didn't add explicit test because the repro needed an infinite loop.
Risk
Low - The change will conservatively skip removing a non-empty finally clause.