Skip to content

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

Merged
rootjalex merged 1 commit intomainfrom
rootjalex/cast-overflow-bugfix
Mar 6, 2022
Merged

Clear bounds info on casts when value bounds are undefined for overflow types#6640
rootjalex merged 1 commit intomainfrom
rootjalex/cast-overflow-bugfix

Conversation

@rootjalex
Copy link
Copy Markdown
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
Copy Markdown
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