Message 328418 - Python tracker
I modified PR 10079 to add a Py_STATIC_INLINE(TYPE) macro: * Use __attribute__((always_inline)) with GCC and clang * Use __forceinline with MSVC Tests on Linux, example: "./configure --with-pydebug CC=clang CFLAGS="-O0" && make clean && make platform" * Linux, gcc -O0: inlined * Linux, clang -O0: inlined Test done on Fedora 28 with GCC 8.1.1 and clang 6.0.1.