From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
-Wbidi-chars
warns about potentially misleading UTF-8
+ -Wbidi-chars
+ warns about potentially misleading UTF-8
bidirectional control characters. The default is
-Wbidi-chars=unpaired
(PR103026)-Warray-compare
warns about comparisons between two operands of
- array type (PR97573)-Warray-compare
+ warns about comparisons between two operands of
+ array type (PR97573)-Wattributes
has been extended so that it's
+ -Wattributes
+ has been extended so that it's
possible to use -Wno-attributes=ns::attr
or
-Wno-attributes=ns::
to suppress warnings about unknown scoped
attributes (in C++11 and C2X). Similarly,
@@ -233,7 +236,8 @@ a work-in-progress.
#elifdef
and #elifndef
preprocessing directives are now supported.printf
and scanf
format checking
- with -Wformat
now supports the %b
format
+ with -Wformat
+ now supports the %b
format
specified by C2X for binary integers, and the %B
format recommended by C2X for printf
.
-Wuninitialized
warns about using uninitialized variables in
+ -Wuninitialized
+ warns about using uninitialized variables in
member initializer lists (PR19808)
-Wint-in-bool-context
is now disabled when instantiating
+ -Wint-in-bool-context
+ is now disabled when instantiating
a template (git)-Wc++23-extensions
. They are enabled by default
and can be used to control existing pedwarns about occurences of
new C++ constructs in code using an old C++ standard dialect.-Wmissing-requires
warns about missing
- requires
+ -Wmissing-requires
+ warns about missing requires
(git)std::is_constant_evaluated
in if
warning was extended to warn in more cases
(PR100995)-Waddress
has been enhanced so that it now warns about, for
+ -Waddress
+ has been enhanced so that it now warns about, for
instance, comparing the address of a nonstatic member function to null
(PR102103)constinit thread_local
variables are optimized better
(PR101786)std::hardware_destructive_interference_size
- was added, along with the -Winterference-size
warning
+ was added, along with the
+ -Winterference-size
+ warning
(git)-Wuninitialized
is active. For best
- debugging, use of the new command-line option
- -ftrivial-auto-var-init=pattern
can be used to fill
- variables with a repeated 0xFE
pattern, which tends to
+ warn when
+ -Wuninitialized
+ is active. For best debugging, use of the new command-line option
+ -ftrivial-auto-var-init=pattern
+ can be used to fill variables with a repeated 0xFE
pattern, which tends to
illuminate many bugs (e.g. pointers receive invalid addresses, sizes
and indices are very large). For best production results, the new
- command-line option -ftrivial-auto-var-init=zero
can be
+ command-line option
+ -ftrivial-auto-var-init=zero
+ can be
used to fill variables with 0x00
, which tends to provide
a safer state for bugs (e.g. pointers are NULL
, strings
are NUL
filled, and sizes and indices are 0
).
commit f370b62b8dae4d0ec11a957f5c3817039aca3958
Author: David Malcolm LIBGCCJIT_ABI_16
)
+ gcc_jit_lvalue_set_tls_model
+ for supporting thread-local variables
+ (LIBGCCJIT_ABI_17
)
+ gcc_jit_lvalue_set_link_section
+ for setting the link section of global variables, analogous to
+ __attribute__((section(".section")))
+ (LIBGCCJIT_ABI_18
)
+ LIBGCCJIT_ABI_19
)
+