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.
cr16-elf
tilegx*-linux
tilepro*-linux
hppa[12]*-*-hpux10*
hppa[12]*-*-hpux11*
m32c-rtems
*-*-solaris2.11.3
-gstabs
-gxcoff
-gz=zlib-gnu
-Warray-bounds=2
-fstrict-flex-arrays
-fanalyzer
-mcpu=iwmmxt
requires
unified_address
unified_shared_memory
omp_all_memory
inoutset
depend
nowait
taskwait
omp_target_is_accessible
omp_target_memcpy_async
omp_target_memcpy_rect_async
omp_get_mapped_ptr
assume
assumes
begin/end declare target
firstprivate
allocate
scope
linear
omp_initial_device
omp_invalid_device
target enter/exit data
enter
to
declare target
omp_in_explicit_task
doacross
source
sink
_ALL
detect_stack_use_after_return=1
env ASAN_OPTIONS=detect_stack_use_after_return=0
-gz=zstd
--jobserver-style=fifo
-Ofast
-ffast-math
-funsafe-math-optimizations
-shared
-fdiagnostics-format=
-fdiagnostics-format=sarif-stderr
-fdiagnostics-format=sarif-file
-fdiagnostics-format=json-stderr
-fdiagnostics-format=json
-fdiagnostics-format=json-file
json
GNAT.Binary_Search
SPARK_Mode=>Auto
-Wxor-used-as-pow
^
int
__attribute__((fd_arg(N)))
__attribute__((fd_arg_read(N)))
__attribute__((fd_arg_write(N)))
__attribute__((assume(EXPR)));
auto
constexpr
typeof
typeof_unqual
alignas
alignof
bool
false
static_assert
thread_local
true
noreturn
__STDC_VERSION_*_H__
ATOMIC_VAR_INIT
unreachable
<stddef.h>
printf
scanf
-Wformat
%wN
%wfN
-std=c2x -Wpedantic
-Wenum-int-mismatch
-std=c++17
-fexcess-precision=standard
-std=gnu++20
-fexcess-precision=fast
float
double
long double
std::float16_t
std::bfloat16_t
#warning
char8_t
operator()
-Wself-move
std::move
-Wdangling-reference
-Wpessimizing-move
-Wredundant-move
-nostdlib++
g++
<format>
std::format
std::chrono::utc_clock
<chrono>
<ranges>
views::zip
views::zip_transform
views::adjacent
views::adjacent_transform
views::pairwise
views::slide
views::chunk
views::chunk_by
views::repeat
views::cartesian_product
views::as_rvalue
views::enumerate
views::as_const
<algorithm>
ranges::contains
ranges::contains_subrange
ranges::iota
ranges::find_last
ranges::find_last_if
ranges::find_last_if_not
ranges::fold_left
ranges::fold_left_first
ranges::fold_right
ranges::fold_right_last
ranges::fold_left_with_iter
ranges::fold_left_first_with_iter
std::expected
std::bitset
std::to_chars
std::from_chars
<experimental/scope>
<experimental/synchronized_value>
<* noreturn *>
-Wreturn-type
libbid
-mcpu
-mtune
ampere1a
cortex-a715
cortex-x1c
cortex-x3
neoverse-v2
armv9.1-a, armv9.2-a
armv9.3-a
-march=
FEAT_LRCPC
LDAPR
+rcpc
-march
FEAT_CSSC
+cssc
__builtin_ctz
__builtin_popcount
FEAT_LSE2
libatomic
gfx90a
star-mc1
cortex-m85
-mbranch-protection=
__bf16
-mavxifma
-mavxvnniint8
-mavxneconvert
-mcmpccxadd
-mamx-fp16
-mprefetchi
-mraoint
-mamx-complex
-march=raptorlake
-march=meteorlake
-march=sierraforest
-march=grandridge
-march=emeraldrapids
-march=graniterapids
znver4
-march=znver4
-mexplicit-relocs
-mdirect-extern-access
model
rint
copysign
lrint
logb
scalbln
scalbn
ldexp
-fno-math-errno
lceil
lfloor
-ffp-int-builtin-inexact
libvtv
libitm
--with-arch=
sm_30
thead-c906
-Wanalyzer-allocation-size
-Wanalyzer-deref-before-check
-Wanalyzer-exposure-through-uninit-copy
-Wanalyzer-fd-access-mode-mismatch
-Wanalyzer-fd-double-close
-Wanalyzer-fd-leak
-Wanalyzer-fd-phase-mismatch
accept
listen
-Wanalyzer-fd-type-mismatch
-Wanalyzer-fd-use-after-close
-Wanalyzer-fd-use-without-check
along with special-casing handling of the behavior of open, close, creat, dup, dup2, dup3, pipe, pipe2, read, and write.
open
close
creat
dup
dup2
dup3
pipe
pipe2
read
write
-Wanalyzer-imprecise-fp-arithmetic
-Wanalyzer-infinite-recursion
-Wanalyzer-jump-through-null
-Wanalyzer-out-of-bounds
-Wanalyzer-putenv-of-auto-var
-Wanalyzer-tainted-assertion
<stdarg.h>
-Wanalyzer-va-list-leak
va_end
va_start
va_copy
-Wanalyzer-va-list-use-after-va-end
va_arg
va_list
-Wanalyzer-va-arg-type-mismatch
-Wanalyzer-va-list-exhausted
This is the list of problem reports (PRs) from GCC's bug tracking system that are known to be fixed in the 13.1 release. This list might not be complete (that is, it is possible that some PRs that have been fixed are not listed here).
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 2023-04-26.