mimalloc-bench icon indicating copy to clipboard operation
mimalloc-bench copied to clipboard

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

Open nishiken opened this issue 1 year ago • 1 comments

Could you please add -fno-ipa-pure-const to the compile options set by the add_security_test macro described in bench/security/CMakeLists.txt ? Without this option, tests such as write_zero_size may omit code generation and not work as intended.

nishiken avatar May 24 '24 03:05 nishiken

Feel free to send a pull-request :)

jvoisin avatar May 24 '24 10:05 jvoisin