Skip to content
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

Fix global flow analysis #1680

Merged
merged 1 commit into from
Sep 23, 2024
Merged

Fix global flow analysis #1680

merged 1 commit into from
Sep 23, 2024

Conversation

vouillon
Copy link
Member

It needs to take into account values flowing out of the toplevel function (see #1556).

@hhugo
Copy link
Member

hhugo commented Sep 23, 2024

Can you add a changelog entry ?

Do you have a regression test for this by any chance ?

@vouillon
Copy link
Member Author

This is a better fix than #1556. We can at least check that the test introduced in 1f29da6 still pass, but I'm not sure this solves any other issue.

It needs to take into account values flowing out of the toplevel function.
PR #1556 added a workaround in the global deadcode analysis for this, but
it's better to fix the issue at its root.
@hhugo hhugo merged commit d6a7aba into master Sep 23, 2024
18 checks passed
@hhugo hhugo deleted the global-flow-fix branch September 23, 2024 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants