GCC 15 Update Brings C23, C++ 23, and Cobol Front End, Expected in Late April

Jordan Vega

Jordan Vega

March 17, 2025 · 3 min read
GCC 15 Update Brings C23, C++ 23, and Cobol Front End, Expected in Late April

The GNU Compiler Collection (GCC) is gearing up for its 15th major update, which promises to bring significant improvements to C and C++ development, as well as a new front end for Cobol. According to Richard Biener, a release manager for GCC, the production release is expected in late April or early May, pending the resolution of all priority one regressions towards GCC 14.

One of the most notable changes in GCC 15 is the default switch to C23 for the C compiler, moving away from C17. The C++ compiler and standard library will also start to incorporate features from C++ 23 and C++ 26. Additionally, C++ 20 modules will become more usable with improvements in both the compiler and tooling. Biener expressed enthusiasm for the release, stating that "GCC 15 looks to be a really good release, especially for C++ development."

RISC-V architecture support is also expected to advance significantly in GCC 15, particularly in the areas of vectorization and architecture support. This continued focus on RISC-V reflects the growing importance of this open-source instruction set architecture in the industry.

In a significant development, GCC 15 will introduce a language front end for Cobol, a legacy language still widely used in production environments. Biener noted that Cobol presents unique challenges for the compiler middle-end, but having a free software compiler option is a positive step. This move is likely to be welcomed by developers and organizations still relying on Cobol-based systems.

In contrast, a proposed front end for Algol 68 did not make it past the steering committee. While Biener acknowledged the historical importance of Algol 68, he cited a lack of practical or commercial relevance as the reason for its exclusion. However, he expressed hope that Algol 68 would be included in future GCC releases, potentially starting with GCC 16.

In addition to these major changes, GCC 15 will also bring several other improvements, including an enhanced default vectorizer cost model at -O2, support for unified shared memory on certain AMD and Nvidia GPUs, and the addition of a musttail statement attribute to enforce tail calls for the C family. Furthermore, debug assertions will now be enabled by default for unoptimized builds in the runtime library.

For developers looking to port their projects to GCC 15, instructions are available at gcc.gnu.org. As the release date approaches, the GCC community is eagerly anticipating the benefits and opportunities that this update will bring to the world of C, C++, and Cobol development.

In the broader context, the GCC 15 update highlights the ongoing efforts to advance and refine programming languages and their associated toolchains. As the technology landscape continues to evolve, the importance of efficient, reliable, and innovative compiler development cannot be overstated. The upcoming release of GCC 15 is a significant milestone in this journey, and its impact will likely be felt across the industry in the months and years to come.

Similiar Posts

Copyright © 2024 Starfolk. All rights reserved.