diff options
author | Batuhan Taskaya <batuhanosmantaskaya@gmail.com> | 2020-06-02 08:19:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-02 08:19:52 (GMT) |
commit | 033d10bd21d962a59c6c4fc503092046baa451a1 (patch) | |
tree | ef1e82b13de9a626ca97e297a13983a11644b77d | |
parent | 90d297012b3848454cbd00dde954e3ea1a09e86f (diff) | |
download | cpython-033d10bd21d962a59c6c4fc503092046baa451a1.zip cpython-033d10bd21d962a59c6c4fc503092046baa451a1.tar.gz cpython-033d10bd21d962a59c6c4fc503092046baa451a1.tar.bz2 |
bpo-40244: Remove XLC's support from the noreturn flag (GH-20588)
Automerge-Triggered-By: @pablogsal
-rw-r--r-- | Include/pyport.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/pyport.h b/Include/pyport.h index 63d3b81..bdbd0c9 100644 --- a/Include/pyport.h +++ b/Include/pyport.h @@ -829,10 +829,10 @@ extern _invalid_parameter_handler _Py_silent_invalid_parameter_handler; #endif /* Mark a function which cannot return. Example: + PyAPI_FUNC(void) _Py_NO_RETURN PyThread_exit_thread(void); - PyAPI_FUNC(void) _Py_NO_RETURN PyThread_exit_thread(void); */ + XLC support is intentionally omitted due to bpo-40244 */ #if defined(__clang__) || \ - defined(__xlc__) || \ (defined(__GNUC__) && \ ((__GNUC__ >= 3) || \ (__GNUC__ == 2) && (__GNUC_MINOR__ >= 5))) |