From: Batuhan Taşkaya Date: Sun, 29 Mar 2020 15:52:32 +0000 (+0300) Subject: bpo-40096: Support __attribute__((__noreturn__)) on xlc (GH-19204) X-Git-Tag: v3.9.0a6~251 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0003c2dc1d4cf5b122e73e83177fd274fa9a9913;p=thirdparty%2FPython%2Fcpython.git bpo-40096: Support __attribute__((__noreturn__)) on xlc (GH-19204) --- diff --git a/Include/pyport.h b/Include/pyport.h index 64c73f012e7a..72e74e046a5e 100644 --- a/Include/pyport.h +++ b/Include/pyport.h @@ -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)))