Skip to content

bench/security: add -fno-ipa-pure-const to compile options#231

Merged
jvoisin merged 1 commit intodaanx:masterfrom
derSteFfi:fix_207
Jul 18, 2025
Merged

bench/security: add -fno-ipa-pure-const to compile options#231
jvoisin merged 1 commit intodaanx:masterfrom
derSteFfi:fix_207

Conversation

@derSteFfi
Copy link
Copy Markdown
Contributor

this tells gcc not to mark functions as pure or const on its own, which would enable some optimisations that might undermine security tests. Fixes #207

this tells gcc not to mark functions as pure or const on its own, which would enable some optimisations that might undermine security tests. Fixes daanx#207
@jvoisin jvoisin merged commit 63b58ad into daanx:master Jul 18, 2025
1 of 4 checks passed
@derSteFfi derSteFfi deleted the fix_207 branch July 18, 2025 14:19
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.

-fno-ipa-pure-const should be added to bench/security/CMakeLists.txt

2 participants