COBOL front-end added to GCC
a year ago
- #Optimization
- #GCC
- #Compiler
- GCC 15 introduces numerous improvements, including deprecated features, new compiler options, and enhanced diagnostics.
- Deprecation of -mabi=ilp32 and -fdiagnostics-format=json, with SARIF recommended for machine-readable diagnostics.
- Changes in union initialization behavior in C/C++, requiring explicit zero initialization for padding bits.
- Enhancements to -O2 optimization, including better handling of unknown trip counts but still limiting vectorization in certain cases.
- New OpenMP 6.0 features supported, including self_maps clause, unified_shared_memory, and various allocators.
- Improvements in Ada/SPARK, including new attributes like 'Round and 'Super, and aspects like Finalizable.
- New warnings and diagnostics options, such as -Wtrailing-whitespace and -Wheader-guard, added to improve code quality checks.
- Support for C23 features, including #embed directive, __STDC_VERSION__ update, and new builtins like __builtin_stdc_rotate_left.
- C++ enhancements include new library features like std::flat_map, std::flat_set, and improvements in std::format.
- Fortran updates include new intrinsic functions, unsigned modular integers, and compatibility changes in .mod file format.
- Rust support improvements in gccrs, including better error handling, support for let-else, and specialization features.
- ARM architecture updates with new CPU and architecture support, including Armv9.5-A and various new extensions.
- AVR enhancements, including new function attributes like signal(num) and interrupt(num), and support for __flashx address space.
- x86 architecture updates include new compiler switches for AMX extensions, AVX10.2 support, and deprecation of older features.
- Diagnostics improvements, including SARIF output enhancements, better source location tracking, and new libgdiagnostics library.