summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBatuhan Taşkaya <batuhanosmantaskaya@gmail.com>2020-03-29 15:52:32 (GMT)
committerGitHub <noreply@github.com>2020-03-29 15:52:32 (GMT)
commit0003c2dc1d4cf5b122e73e83177fd274fa9a9913 (patch)
tree880c78b576623ea1ccfe2b64d724e3d36171d59d
parent016bdd519d76c282bbe0220c67a49226b6262638 (diff)
downloadcpython-0003c2dc1d4cf5b122e73e83177fd274fa9a9913.zip
cpython-0003c2dc1d4cf5b122e73e83177fd274fa9a9913.tar.gz
cpython-0003c2dc1d4cf5b122e73e83177fd274fa9a9913.tar.bz2
bpo-40096: Support __attribute__((__noreturn__)) on xlc (GH-19204)
-rw-r--r--Include/pyport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index 64c73f0..72e74e0 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)))