]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-129838: Don't redefine _Py_NO_SANITIZE_UNDEFINED (GH-129839) (#130365)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 20 Feb 2025 16:20:27 +0000 (17:20 +0100)
committerGitHub <noreply@github.com>
Thu, 20 Feb 2025 16:20:27 +0000 (16:20 +0000)
commitf314cc4db5a6307f358b7fed094f72a3b7bca480
tree29c8e2bfde295b69c62a22577006d7560443e214
parent5c0aba0b81aa167d0378ee815deb924f1178a84b
[3.12] gh-129838: Don't redefine _Py_NO_SANITIZE_UNDEFINED (GH-129839) (#130365)

gh-129838: Don't redefine _Py_NO_SANITIZE_UNDEFINED (GH-129839)

Newer GCC versions accept both __attribute__((no_sanitize("undefined")))
and __attribute__((no_sanitize_undefined)) so check that the macro is
not already defined.
(cherry picked from commit 568db400ff07240a5ed6f263af281405ccaec716)

Co-authored-by: Collin Funk <collin.funk1@gmail.com>
Misc/NEWS.d/next/Build/2025-02-07-21-20-21.gh-issue-129838.fkuiEc.rst [new file with mode: 0644]
Modules/faulthandler.c