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

Clear bounds info on casts when value bounds are undefined for overflow types #6640

Merged
merged 1 commit into from
Mar 6, 2022

Conversation

rootjalex
Copy link
Member

When simplifying casts, if the bound's min is undefined, we need to clear the bound's max value if the type has defined overflow behavior. Likewise, if the bound's max is undefined.

Fixes #6639

@steven-johnson
Copy link
Contributor

backport needed?

@abadams abadams added the backport me This change should be backported to release versions label Mar 6, 2022
@rootjalex rootjalex merged commit a55ae55 into main Mar 6, 2022
@rootjalex rootjalex deleted the rootjalex/cast-overflow-bugfix branch March 6, 2022 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport me This change should be backported to release versions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fuzz-Simplify failure
3 participants