Message328418
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. |
|
Date |
User |
Action |
Args |
2018-10-25 07:34:03 | vstinner | set | recipients:
+ vstinner, benjamin.peterson, thatiparthy, Aaron Hall |
2018-10-25 07:34:03 | vstinner | set | messageid: <1540452843.15.0.788709270274.issue35059@psf.upfronthosting.co.za> |
2018-10-25 07:34:03 | vstinner | link | issue35059 messages |
2018-10-25 07:34:03 | vstinner | create | |
|