Skip to content

Commit 50e847a

Browse files
bpo-40244: Remove XLC's support from the noreturn flag (GH-20588)
Automerge-Triggered-By: @pablogsal (cherry picked from commit 033d10b) Co-authored-by: Batuhan Taskaya <[email protected]>
1 parent b90b61f commit 50e847a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Include/pyport.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -829,10 +829,10 @@ extern _invalid_parameter_handler _Py_silent_invalid_parameter_handler;
829829
#endif
830830

831831
/* Mark a function which cannot return. Example:
832+
PyAPI_FUNC(void) _Py_NO_RETURN PyThread_exit_thread(void);
832833
833-
PyAPI_FUNC(void) _Py_NO_RETURN PyThread_exit_thread(void); */
834+
XLC support is intentionally omitted due to bpo-40244 */
834835
#if defined(__clang__) || \
835-
defined(__xlc__) || \
836836
(defined(__GNUC__) && \
837837
((__GNUC__ >= 3) || \
838838
(__GNUC__ == 2) && (__GNUC_MINOR__ >= 5)))

0 commit comments

Comments
 (0)