GCC 15.2 was officially released on August 8, 2025

115 views
Skip to first unread message

Grigory Filatov

unread,
Aug 11, 2025, 8:36:26 AMAug 11
to Harbour Minigui
Hi there,

GCC 15.2 was considered a major stability update primarily because it addressed and corrected over 123 bugs and regressions found in GCC 15.1, making the compiler much more reliable across a wide array of platforms, languages, and use cases. The fixes were rigorously backported and covered critical areas such as incorrect code generation, compiler crashes, and hangs. This careful attention to problematic scenarios ensured that developers could use the compiler with greater confidence, especially for production environments where stability is paramount.

Key reasons for the stability leap in GCC 15.2:

C++ Frontend Improvements: Many of the fixes targeted the handling of complex C++ constructs, including template instantiations, constexpr evaluation, lambda expressions, move semantics, exception handling, and inline assembly. These improvements minimized subtle errors and assured more accurate and efficient code generation for modern C++.

Fortran Language Fixes: The release brought enhanced stability for Fortran, crucial for scientific and high-performance computing. Notable areas improved included Coarray Fortran features, array intrinsic functions, module interoperability, adherence to recent standards (Fortran 2018), and I/O operations robustness.

Optimization and Architecture Support: GCC 15.2 introduced refinements in its optimization passes, targeting ARM, x86-64, and RISC-V among others. Enhanced instruction selection, register allocation, vectorization, and improved Link-Time Optimization (LTO) ensured both quicker compile times and faster runtime execution.

Front-End and Back-End Reliability: Fixes weren’t limited to language features; the stability of syntax parsing, semantic analysis, type checking, error reporting, code emission, and debug information generation were all improved. This broad coverage contributed to fewer unexpected behaviors throughout the compilation pipeline.

Diagnostic and Reporting Enhancements: Developers benefited from clearer, more precise compiler diagnostic messages and reporting, simplifying debugging and accelerating development cycles.

By combining these comprehensive bug fixes, performance improvements, and diagnostic enhancements, GCC 15.2 became a crucial upgrade for any developer seeking stability and predictability in their software builds.

Harbour Build Info
---------------------------
Version: Harbour 3.2.0dev (r2507191744)
Compiler: MinGW GNU C 15.2 (64-bit)
Platform: Windows 11 or newer 10.0.22000
PCode version: 0.3
ChangeLog last entry: 2025-07-19 19:44 UTC+0200 Aleksander Czajczynski (hb fki.pl)
ChangeLog ID: 89a8c5a3975292fdfc927837397cdb08d3be5446
Built on: Aug 11 2025 13:30:51

Thank you for your attention.

Kind regards,
Grigory

Marcos Jarrin

unread,
Aug 11, 2025, 3:19:07 PMAug 11
to Harbour Minigui
Hello Grigory,

Thank you for sharing this insightful technical update regarding the latest release of the GCC compiler. It’s a valuable resource for staying current with the newest developments.

For further details, I’ve included the following links where you can explore the features and documentation of the new version in depth:

    GCC 15 Release Notes      
    https://gcc.gnu.org/gcc-15/

    GCC 15.2.0 Documentation (PDF)    
    https://gcc.gnu.org/onlinedocs/gcc-15.2.0/gcc.pdf

Best regards
Marcos Jarrín

José Quintas

unread,
Aug 13, 2025, 2:40:55 PMAug 13
to Harbour Minigui
Update here and using in production.
I build harbour here, on my machine, and use it for all: hmg3, hmg extended, oohg, hwgui, fivewin
On fivewin only, I can't rebuild libraries, but until now, no problem updating mingw.

José M. C. Quintas
Reply all
Reply to author
Forward
0 new messages