]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-40096: Support __attribute__((__noreturn__)) on xlc (GH-19204)
authorBatuhan Taşkaya <batuhanosmantaskaya@gmail.com>
Sun, 29 Mar 2020 15:52:32 +0000 (18:52 +0300)
committerGitHub <noreply@github.com>
Sun, 29 Mar 2020 15:52:32 +0000 (16:52 +0100)
Include/pyport.h

index 64c73f012e7a7110ccf3d81dd56739ea65c4179d..72e74e046a5ee31ddccb50f12baa9b836f17e56b 100644 (file)
@@ -832,6 +832,7 @@ extern _invalid_parameter_handler _Py_silent_invalid_parameter_handler;
 
    PyAPI_FUNC(void) _Py_NO_RETURN PyThread_exit_thread(void); */
 #if defined(__clang__) || \
+    defined(__xlc__) || \
     (defined(__GNUC__) && \
      ((__GNUC__ >= 3) || \
       (__GNUC__ == 2) && (__GNUC_MINOR__ >= 5)))