https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96709
--- Comment #2 from g.peterh...@t-online.de --- You can choose the boost version on godbolt.org. The example uses 1.73, but only the macros #define BOOST_FORCEINLINE inline __attribute__ ((__always_inline__)) and #define BOOST_NOINLINE __attribute__ ((__noinline__)).