SUNDAY, APRIL 19, 2026 GCC DIGEST · OPEN-SOURCE SYSTEMS DAILY VOL. 1 · NO. 109
Late Edition · APRIL 19, 2026 · VOL. 1 · NO. 109
The GCC Digest
— A Daily Record of the GNU Compiler Collection —
libstdc++ Impact 7 / 10

Libstdc++: Allow non-inline definition of std::print functions.

Introduces a macro to optionally disable inline definitions of `std::print` functions, reducing compile times.

This commit introduces the _GLIBCXX_NO_INLINE_PRINT macro. When defined, this macro prevents the std::vprint_unicode family of functions from being defined inline, instead using external definitions from libstdc++exp.a. This can drastically reduce compile times, especially in optimized builds, at the cost of potential runtime performance.

Filed Under: libstdc++std::printcompile timeinliningoptimization