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

Offer a choice between trapping and wrapping for integer overflow/underflow #6815

Open
IGI-111 opened this issue Jan 6, 2025 · 0 comments
Open
Assignees
Labels
compiler General compiler. Should eventually become more specific as the issue is triaged language feature Core language features visible to end users

Comments

@IGI-111
Copy link
Contributor

IGI-111 commented Jan 6, 2025

Currently overflow is treated as UB, but it is desirable to let the user pick a trapping behavior through some flag, and we should want to revisit defaults based on how strict we can be about the guarantee of detection as well as the practical performance impact.

@IGI-111 IGI-111 added compiler General compiler. Should eventually become more specific as the issue is triaged language feature Core language features visible to end users labels Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler General compiler. Should eventually become more specific as the issue is triaged language feature Core language features visible to end users
Projects
None yet
Development

No branches or pull requests

2 participants