bpo-40244: Remove XLC's support from the noreturn flag (GH-20588)

Automerge-Triggered-By: @pablogsal
This commit is contained in:
Batuhan Taskaya 2020-06-02 11:19:52 +03:00 committed by GitHub
parent 90d297012b
commit 033d10bd21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -829,10 +829,10 @@ extern _invalid_parameter_handler _Py_silent_invalid_parameter_handler;
#endif #endif
/* Mark a function which cannot return. Example: /* 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__) || \ #if defined(__clang__) || \
defined(__xlc__) || \
(defined(__GNUC__) && \ (defined(__GNUC__) && \
((__GNUC__ >= 3) || \ ((__GNUC__ >= 3) || \
(__GNUC__ == 2) && (__GNUC_MINOR__ >= 5))) (__GNUC__ == 2) && (__GNUC_MINOR__ >= 5)))