]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-40244: Remove XLC's support from the noreturn flag (GH-20588)
authorBatuhan Taskaya <batuhanosmantaskaya@gmail.com>
Tue, 2 Jun 2020 08:19:52 +0000 (11:19 +0300)
committerGitHub <noreply@github.com>
Tue, 2 Jun 2020 08:19:52 +0000 (01:19 -0700)
Automerge-Triggered-By: @pablogsal
Include/pyport.h

index 63d3b81de5d2326eb55c2a36baec785e51aa73da..bdbd0c942f682f31422bdb9f4ba0587163a1a1df 100644 (file)
@@ -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)))