From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
-gz=zlib-gnu
was removed
and the option is ignored right now.-Warray-bounds=2
+ -Warray-bounds=2
will no longer issue warnings for out of
bounds accesses to trailing struct members of one-element array type
anymore. Instead it diagnoses accesses to trailing arrays according to
-fstrict-flex-arrays
. -fanalyzer
+ -fanalyzer
is still only suitable for analyzing C code.
In particular, using it on C++ is unlikely to give meaningful output.-mcpu=iwmmxt
, has been deprecated and will be removed in a
future release. This includes support for the
-
+
iWMMXt built-in functions.
-fanalyzer
),
+ analysis tools (like GCC's -fanalyzer
),
but it can also be used to capture other GCC warnings and errors in a
machine-readable format.
- Specifically, the -fdiagnostics-format=
+ Specifically, the -fdiagnostics-format=
option has been extended to support these new values:
-fdiagnostics-format=sarif-stderr
-Wxor-used-as-pow
+ -Wxor-used-as-pow
warns about uses of ^
, the exclusive or operator,
where it appears the user meant exponentiation
(PR90885)int
arguments that are file descriptors:
__attribute__((fd_arg(N)))
__attribute__((fd_arg_read(N)))
__attribute__((fd_arg_write(N)))
__attribute__((fd_arg(N)))
__attribute__((fd_arg_read(N)))
__attribute__((fd_arg_write(N)))
-fanalyzer
+ -fanalyzer
to detect misuses of file descriptors.
__attribute__((assume(EXPR)));
+ __attribute__((assume(EXPR)));
-fstrict-flex-arrays
+ -fstrict-flex-arrays
to control which array members are treated as flexible arrays.
printf
and scanf
format checking
- with -Wformat
for %wN
+ with -Wformat
for %wN
and %wfN
format length modifiers-std=c2x -Wpedantic
.-Wenum-int-mismatch
+ -Wenum-int-mismatch
warns about mismatches between an enumerated type and an integer type
(PR105131)-Wself-move
+ -Wself-move
warns when a value is moved to itself with std::move
(PR81159)-Wdangling-reference
+ -Wdangling-reference
warns when a reference is bound to a temporary whose lifetime
has ended
(PR106393)-Wpessimizing-move
- and -Wredundant-move
+ -Wpessimizing-move
+ and -Wredundant-move
warnings have been extended to warn in more contexts.-nostdlib++
+ -nostdlib++
option has been added, to enable linking with g++
without implicitly linking in the C++ standard library.<* noreturn *>
attribute is supported
with the -Wreturn-type
-
+
option.gfx90a
) has been added.
+ href="https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/Nvidia-PTX-Options.html">
-march
option can be now changed when building GCC using the
@@ -730,21 +730,21 @@ a work-in-progress.
-Wanalyzer-allocation-size
-Wanalyzer-deref-before-check
-Wanalyzer-exposure-through-uninit-copy
-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
+ -Wanalyzer-fd-access-mode-mismatch
-Wanalyzer-fd-double-close
-Wanalyzer-fd-leak
-Wanalyzer-fd-phase-mismatch
(e.g. calling accept
on a socket before calling
listen
on it)-Wanalyzer-fd-type-mismatch
+ -Wanalyzer-fd-type-mismatch
(e.g. using a stream socket operation on a datagram socket)-Wanalyzer-fd-use-after-close
-Wanalyzer-fd-use-without-check
-Wanalyzer-fd-use-after-close
-Wanalyzer-fd-use-without-check
along with special-casing handling of the behavior of
open
, close
, creat
,
@@ -752,18 +752,18 @@ a work-in-progress.
pipe
, pipe2
, read
,
and write
.
-Wanalyzer-imprecise-fp-arithmetic
-Wanalyzer-infinite-recursion
-Wanalyzer-jump-through-null
-Wanalyzer-out-of-bounds
-Wanalyzer-putenv-of-auto-var
-Wanalyzer-tainted-assertion
-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
for complaining about missing va_end
after a va_start
or va_copy
-Wanalyzer-va-list-use-after-va-end
for complaining about va_arg
or va_copy
used on a va_list
that's had va_end
called on it-Wanalyzer-va-arg-type-mismatch
for type-checking of va_arg
usage in interprocedural execution paths against the types of the parameters that were actually passed to the variadic call-Wanalyzer-va-list-exhausted
for complaining in interprocedural execution paths if va_arg
is used too many times on a va_list
-Wanalyzer-va-list-leak
for complaining about missing va_end
after a va_start
or va_copy
-Wanalyzer-va-list-use-after-va-end
for complaining about va_arg
or va_copy
used on a va_list
that's had va_end
called on it-Wanalyzer-va-arg-type-mismatch
for type-checking of va_arg
usage in interprocedural execution paths against the types of the parameters that were actually passed to the variadic call-Wanalyzer-va-list-exhausted
for complaining in interprocedural execution paths if va_arg
is used too many times on a va_list
The GCC developers would like to thank the numerous people that have contributed new features, improvements, bug fixes, and other changes as well as test results to GCC. -This amazing +This amazing group of volunteers is what makes GCC successful.
For additional information about GCC please refer to the ----------------------------------------------------------------------- Summary of changes: htdocs/gcc-13/changes.html | 86 +++++++++++++++++++++++----------------------- htdocs/gcc-13/index.html | 2 +- 2 files changed, 44 insertions(+), 44 deletions(-) hooks/post-receive -- gcc-wwwdocs