To: python-checkins at python.org Subject: bpo-40096: Support __attribute__((__noreturn__)) on xlc (GH-19204) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 https://github.com/python/cpython/commit/0003c2dc1d4cf5b122e73e83177fd274fa9a= 9913 commit: 0003c2dc1d4cf5b122e73e83177fd274fa9a9913 branch: master author: Batuhan Ta=C5=9Fkaya <batuhanosmantaskaya at gmail.com> committer: GitHub <noreply at github.com> date: 2020年03月29日T16:52:32+01:00 summary: bpo-40096: Support __attribute__((__noreturn__)) on xlc (GH-19204) files: M Include/pyport.h diff --git a/Include/pyport.h b/Include/pyport.h index 64c73f012e7a7..72e74e046a5ee 100644 --- a/Include/pyport.h +++ b/Include/pyport.h @@ -832,6 +832,7 @@ extern _invalid_parameter_handler _Py_silent_invalid_para= meter_handler; =20 PyAPI_FUNC(void) _Py_NO_RETURN PyThread_exit_thread(void); */ #if defined(__clang__) || \ + defined(__xlc__) || \ (defined(__GNUC__) && \ ((__GNUC__ >=3D 3) || \ (__GNUC__ =3D=3D 2) && (__GNUC_MINOR__ >=3D 5)))