GCC 14 is the next major release of the GNU Compiler Collection (GCC) that brings many additions, improvements, bug fixes, and new features to the C++ front end. Some of the new features include trivial infinite loops and UB, static storage for braced initializers, unevaluated strings, constexpr cast from void*, user-generated static_assert messages, placeholder variables, and more. The default dialect in GCC 14 is -std=gnu++17, but C++20, C++23, and C++26 features are still experimental.
Table of contents
C++26 featuresC++23 featuresDefect report resolutionsAdditional updatesNew and improved warningsModulesAcknowledgmentsSort: