]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-129838: Don't redefine _Py_NO_SANITIZE_UNDEFINED (GH-129839) (#130366)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 20 Feb 2025 16:30:46 +0000 (17:30 +0100)
committerGitHub <noreply@github.com>
Thu, 20 Feb 2025 16:30:46 +0000 (16:30 +0000)
commit6cd2f356c371f6ce984c6030ab0f2dd8a1eae743
tree773ab4d3243024933cba1a2aa1eae539faf65584
parent38dfe014de2ce8741c8d1ffff071689b1d06f186
[3.13] gh-129838: Don't redefine _Py_NO_SANITIZE_UNDEFINED (GH-129839) (#130366)

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