[issue45094] Consider using __forceinline and __attribute__((always_inline)) on static inline functions (Py_INCREF, Py_TYPE) for debug builds

STINNER Victor report at bugs.python.org
Tue Sep 7 09:45:12 EDT 2021


STINNER Victor <vstinner at python.org> added the comment:

Using __forceinline didn't fix test_exceptions: see https://bugs.python.org/issue44348#msg401185

Since I created the issue to fix bpo-44348 and it doesn't work, I close the issue.

Moreover, always inlining can have a negative impact on release builds.

----------
resolution:  -> rejected
stage: patch review -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45094>
_______________________________________


More information about the Python-bugs-list mailing list