This page is a "brief" summary of some of the huge number of improvements in GCC 13. You may also want to check out our Porting to GCC 13 page and the full GCC documentation.
Note: GCC 13 has not been released yet, so this document is a work-in-progress.
m32c-rtemsconfigurations has been removed.
-gxcoffoptions) has been removed. (This means the dbx debugger is no longer supported, either.)
-gz=zlib-gnuwas removed and the option is ignored right now.
-gz=zstdhas been added.
requiresdirective are now accepted; however, the
unified_shared_memoryclauses cause that the only available device is the initial device (the host).
omp_all_memoryreserved locator, the
inoutsetmodifier to the
nowaitclause for the
taskwaitdirective and the
omp_get_mapped_ptrAPI routines. Fortran now supports non-rectangular loop nests, which were added for C/C++ in GCC 11.
allocateclauses on the
scopeconstruct and the OpenMP 5.2 syntax of the
linearclause; the new enum/constants
omp_invalid_device; and optionally omitting the map-type in
target enter/exit data. The
enterclause (as alias for
to) has been added to the
detect_stack_use_after_return=1on GNU/Linux targets. For compatibility, it can be disabled with
--jobserver-style=fifo) by default.
constexprspecifier for object definitions
typeof(previously supported as an extension) and
__STDC_VERSION_*_H__header version macros
scanfformat checking with
%wfNformat length modifiers
-Wenum-int-mismatchwarns about mismatches between an enumerated type and an integer type (PR105131)
char8_tCompatibility and Portability Fix (PR106656)
-Wredundant-movewarnings have been extended to warn in more contexts.
<experimental/scope>header from v3 of the Library Fundamentals Technical Specification.
-mtuneoptions (GCC identifiers in parentheses).
gfx90a) has been added.
star-mc1argument to the
__bf16type is supported on x86 systems with SSE2 and above enabled.
__bf16type for AVX512BF16 intrinsics. Previously we use __bfloat16 which is typedef of short. Now we introduced real
__bf16type to x86 psABI. Users need to adjust their AVX512BF16-related source code when upgrading GCC12 to GCC13.
-march=raptorlake. Raptor Lake is based on Alder Lake.
-march=meteorlake. Meteor Lake is based on Alder Lake.
-march=sierraforest. The switch enables the AVX-IFMA, AVX-VNNI-INT8, AVX-NE-CONVERT and CMPccXADD ISA extensions.
-march=grandridge. The switch enables the AVX-IFMA, AVX-VNNI-INT8, AVX-NE-CONVERT, CMPccXADD and RAO-INT ISA extensions.
-march=graniterapids. The switch enables the AMX-FP16 and PREFETCHI ISA extensions.
-marchoption can be now changed when building GCC using the
--with-arch=configure option. GCC's target libraries are then build both with
sm_30and the specified target architecture. If not specified, GCC defaults to
Copyright (C) Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.
These pages are maintained by the GCC team. Last modified 2022-11-21.