VOOZH about

URL: https://www.phoronix.com/news/GCC-17-std-CPP29-Experimental

⇱ GCC 17 Lands Initial Infrastructure For C++29 - Phoronix


👁 Phoronix

GCC 17 Lands Initial Infrastructure For C++29

Written by Michael Larabel in GNU on 17 June 2026 at 06:23 AM EDT. Add A Comment
Merged yesterday to the GCC Git development codebase for next year's GCC 17 release is the initial infrastructure laying out support for -std=c++29 and the like for targeting the C++29 standard not anticipated for release until around 2029.

With GCC's C++26 support continuing to come together, GNU Compiler Collection developers have begun laying out the infrastructure for experimentally supporting C++29 as they begin to land changes for supporting that follow-up revision to the C++ programming language.

Yesterday's commit introduced support for using -std=c++29 to specify C++29 or alternatively the -std=c++2d alias. Similarly, there is also the -std=gnu++29 variant for the GNU dialect of C++29.

👁 GCC C++29


That infrastructure work landed via this commit by Red Hat compiler engineer Jakub Jelinek.

This early C++29 work follows the recent C++ committee meeting in Brno. Among the adopted features for draft C++29 include work on catching all undefined behavior in C++, designated initializaers for base classes, and other work on memory safety. See this trip report by Herb Sutter as usual for an excellent overview of the recent C++ standards meeting.

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.