GCC 15.2 was released on August 8, 2025

Harbour, MingW related news.

Moderator: Rathinagiri

Post Reply
User avatar
gfilatov
Posts: 1095
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

GCC 15.2 was released on August 8, 2025

Post by gfilatov »

Hi there,

This release is a bug-fix update in the GCC 15 series, containing important fixes for regressions found since GCC 15.1, with over 123 bugs addressed to improve compiler stability and reliability. The announcement and release notes confirm this as the official release date for GCC 15.2.

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.[1][2]

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++.[2]

- 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.[2]

- 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.[2]

- 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.[2]

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

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.[1][2]

[1] https://news.tuxmachines.org/n/2025/08/ ... ased.shtml
[2] https://revwhiteshadow.gitlab.io/blog/g ... ugs-fixed/
[3] https://gcc.gnu.org/gcc-15/changes.html
[4] https://gcc.gnu.org/gcc-15/
[5] https://gcc.gnu.org/releases.html
[6] https://gcc.gnu.org/onlinedocs/
[7] https://gcc.gnu.org/pipermail/gcc-bugs/ ... 25794.html
[8] https://github.com/compiler-explorer/co ... ssues/7948
[9] https://gcc.gnu.org
[10] https://www.reddit.com/r/phoronix_com/c ... ugs_fixed/
[11] https://www.linuxfromscratch.org/~thoma ... pass1.html
[12] https://gcc.gnu.org/pipermail/gcc/2025- ... 46492.html
[13] https://github.com/espressif/esp-idf/issues/17007
[14] https://en.opensuse.org/Features_15.2
[15] https://www.mail-archive.com/gcc-patche ... 78411.html
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
serge_girard
Posts: 3333
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: GCC 15.2 was released on August 8, 2025

Post by serge_girard »

Thanks Grigory !
There's nothing you can do that can't be done...
User avatar
srvet_claudio
Posts: 2223
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: GCC 15.2 was released on August 8, 2025

Post by srvet_claudio »

Many thanks Grigory!
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
gfilatov
Posts: 1095
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: GCC 15.2 was released on August 8, 2025

Post by gfilatov »

Hi there,

There is a good news. :D

I have successfully tested MinGW 15.2 (64-bit) with the latest version of the Harbour compiler (August, 22).

You can see the result in the picture below. :arrow:

Image

Thank you for your attention.
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
serge_girard
Posts: 3333
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: GCC 15.2 was released on August 8, 2025

Post by serge_girard »

Congratulations ! And thanks of course, Serge
There's nothing you can do that can't be done...
Post Reply