-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
gh-96821: Add config option --with-strict-overflow
#96823
Merged
Merged
Changes from 34 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
8863e74
gh-96821: Mark modules that need -fno-strict-overflow
matthiasgoergens 0598ea9
📜🤖 Added by blurb_it.
blurb-it[bot] 50cbb61
Drop fwrapv
matthiasgoergens f4f3b83
Merge branch 'main' into strict_overflow
matthiasgoergens 8015da0
Merge branch 'main' into strict_overflow
matthiasgoergens d2a2c82
Foo
matthiasgoergens 25b15bf
fix
matthiasgoergens 86d01d6
Even I can't remember the f
matthiasgoergens ca2d023
Merge remote-tracking branch 'matthias/strict_overflow' into strict_o…
matthiasgoergens 43baf35
Merge remote-tracking branch 'origin/main' into strict_overflow
matthiasgoergens 2b6ade9
Fix typo
matthiasgoergens 9d402a8
Merge branch 'main' into strict_overflow
matthiasgoergens e5cff7b
News
matthiasgoergens 2118727
Merge remote-tracking branch 'matthias/strict_overflow' into strict_o…
matthiasgoergens a2bb1e9
Update Misc/NEWS.d/next/Build/2022-09-14-10-38-15.gh-issue-96821.Zk2a…
matthiasgoergens 89ba064
Merge branch 'main' into strict_overflow
matthiasgoergens 8d50ae4
Merge branch 'main' into strict_overflow
matthiasgoergens 71ca2a5
Merge remote-tracking branch 'origin/main' into strict_overflow
matthiasgoergens 8538fe6
Fix comments and quoting
matthiasgoergens 26956f3
Fix News
matthiasgoergens 88a2c76
_testcapi is strict-overflow clean now
matthiasgoergens 4f95dba
Merge branch 'main' into strict_overflow
matthiasgoergens 506d77e
Merge branch 'main' into strict_overflow
matthiasgoergens d45d6ae
Update configure.ac
matthiasgoergens f6d3113
Update configure.ac
matthiasgoergens d6423c7
Update configure.ac
matthiasgoergens 0f2f931
Merge branch 'main' into strict_overflow
matthiasgoergens 3b4046f
_struct is already strict-overflow safe
matthiasgoergens 3995eb6
Merge remote-tracking branch 'origin/main' into strict_overflow
matthiasgoergens 2714d61
We fixed audioop, so remove it from list of exceptions
matthiasgoergens 6236fb9
Document our --with-strict-overflow
matthiasgoergens ca6e6ba
Update Doc/using/configure.rst
matthiasgoergens fa14763
Update Misc/NEWS.d/next/Build/2022-09-14-10-38-15.gh-issue-96821.Zk2a…
matthiasgoergens 6b09fa7
Merge branch 'main' into strict_overflow
matthiasgoergens 9f34477
improve help message
hauntsaninja 7116f84
Merge branch 'main' into strict_overflow
erlend-aasland e526f6e
fix cache, add warning
hauntsaninja db665ab
use warn, not error
hauntsaninja File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
Misc/NEWS.d/next/Build/2022-09-14-10-38-15.gh-issue-96821.Zk2a9c.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Explicitly mark C extension modules that need defined signed integer overflow, | ||
and add a configure option :option:`--with-strict-overflow`. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Sorry to pick on this further. I would like two more changes before merging:
AC_MSG_WARN
ifac_cv_cc_supports_fstrict_overflow=no
and--with-strict-overflow=yes
("--with-strict-overflow=yes specified, but your compiler does not support the -fstrict-overflow flag"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.
Makes sense. Don't worry about picking on this, I'm just glad you care enough to make the effort!
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.
Thanks, just ping me when you've made the changes, and I'll get this merged.