The GCC developers are pleased to announce the release of GCC 15.1.
This release is a major release, containing new features (as well as many other improvements) relative to GCC 14.x.
GCC 15.1 introduces several performance-related improvements across optimization strategies, diagnostics, and language-specific enhancements:
1. Enhanced Optimization Capabilities
Loop vectorization improvements: -O2 now better handles loops with unknown trip counts, though still restricts vectorization when runtime checks for data dependencies/alignment are required1.
New -flto-incremental option: Supports incremental Link-Time Optimization (LTO), potentially reducing rebuild times for large projects1.
Prvalue optimization: Class prvalues used as function arguments are more aggressively constant-evaluated, improving code generation for temporary objects2.
2. Compile-Time Efficiency
Template specialization hashing: Accelerates compilation of code with heavy template usage2.
Reduced -ftime-report overhead: Now reports only monotonic runtime, making it practical for build system integration1.
3. Language-Specific Optimizations
C++ modules: Improved support for module std (even in C++20 mode) and general module stability enhancements2.
-fassume-sane-operators-new-delete: Enables optimizations around global operator new/delete by assuming standard-compliant behavior2.
4. Diagnostic Efficiency
Column tracking beyond 4096: Enables precise error locations in large source files, reducing debugging time1.
New -fdiagnostics-add-output=: Allows simultaneous output formats (e.g., SARIF + text), aiding automated analysis pipelines1.
5. Runtime Behavior
Padding bit control: -fzero-init-padding-bits=unions ensures consistent initialization patterns, critical for cryptographic/security-sensitive code1.
OpenMP 6.0 support: Adds unified_shared_memory and self_maps clauses for optimized offloading1.
These changes collectively target both computational efficiency and developer productivity, though specific performance gains will vary by workload and configuration.
Citations:
I have already tested the final version of MinGW 15.1 with Harbour MiniGUI Ex. Everything is fine.
You can see a main demo example in the picture below.

What is your opinion on this matter?
Your feedback is welcome.
Best regards,
Grigory
