Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
Bug description:
When compiling with a recent version of GCC and enabling undefined sanitizer, I see the following warning:
./Modules/faulthandler.c:49:11: warning: "_Py_NO_SANITIZE_UNDEFINED" redefined 49 | # define _Py_NO_SANITIZE_UNDEFINED __attribute__((no_sanitize_undefined)) | ^~~~~~~~~~~~~~~~~~~~~~~~~./Modules/faulthandler.c:44:13: note: this is the location of the previous definition 44 | # define _Py_NO_SANITIZE_UNDEFINED __attribute__((no_sanitize("undefined"))) | ^~~~~~~~~~~~~~~~~~~~~~~~~The conditions just need some updating to match recent GCC and Clang versions.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux