From 5916922e348b0ae5bc1f308b5de9c75ffd20c339 Mon Sep 17 00:00:00 2001
From: Jonathan Wakely OPTION=gcc4-compatible
to set it to
0
.
This option does not change the library ABI.
-
--enable-vtable-verify
[default]Use -fvtable-verify=std
to compile the C++
+
--with-libstdcxx-lock-policy=OPTION
Sets the lock policy that controls how
+ shared_ptr
reference counting is
+ synchronized.
+ The choice OPTION=atomic enables use of atomics for updates to
+ shared_ptr
reference counts.
+ The choice OPTION=mutex enables use of a mutex to synchronize updates
+ to shared_ptr
reference counts.
+ If the compiler's thread model is "single" then this option has no
+ effect, as no synchronization is used for the reference counts.
+ The default is OPTION=auto, which checks for the availability of
+ compiler built-ins for 2-byte and 4-byte atomic compare-and-swap,
+ and uses OPTION=atomic if they're available, OPTION=mutex otherwise.
+ This option can change the library ABI.
+ If the library is configured to use atomics and user programs are
+ compiled using a target that doesn't natively support the atomic
+ operations (e.g. the library is configured for armv7 and then code
+ is compiled with -march=armv5t
) then the program
+ might rely on support in libgcc to provide the atomics.
+
--enable-vtable-verify
[default]Use -fvtable-verify=std
to compile the C++
runtime with instrumentation for vtable verification. All virtual
functions in the standard library will be verified at runtime.
Types impacted include locale
and
diff --git a/libstdc++-v3/doc/html/manual/memory.html b/libstdc++-v3/doc/html/manual/memory.html
index d95202cd100..7b160db60fe 100644
--- a/libstdc++-v3/doc/html/manual/memory.html
+++ b/libstdc++-v3/doc/html/manual/memory.html
@@ -324,7 +324,7 @@
The Hoard Memory Allocator
.
- + Reconsidering Custom Memory Allocation . Copyright © 2002 OOPSLA.
diff --git a/libstdc++-v3/doc/html/manual/status.html b/libstdc++-v3/doc/html/manual/status.html
index aac3bab83fa..70901a6695c 100644
--- a/libstdc++-v3/doc/html/manual/status.html
+++ b/libstdc++-v3/doc/html/manual/status.html
@@ -576,11 +576,11 @@ Feature-testing recommendations for C++.
7.1 __has_include(<string_view>)
,
__cpp_lib_string_view >= 201603
(since 7.3, see Note 1)
- Library Fundamentals V1 TS Components: memory_resource
+ Library Fundamentals V1 TS Components: memory_resource
P0220R1
- No __has_include(<memory_resource>)
,
+ 9.1 __has_include(<memory_resource>)
,
__cpp_lib_memory_resource >= 201603
Library Fundamentals V1 TS Components: apply
@@ -711,7 +711,7 @@ Feature-testing recommendations for C++.
P0426R1
- 8 __cpp_lib_constexpr_char_traits >= 201611
Integrating std::string_view
and std::string
+ 8.1 __cpp_lib_constexpr_char_traits >= 201611
Integrating std::string_view
and std::string
P0254R2
@@ -784,22 +784,22 @@ Feature-testing recommendations for C++.
P0218R1
- 8 __has_include(<filesystem>)
,
+ 8.1 __has_include(<filesystem>)
,
__cpp_lib_filesystem >= 201603
(requires linking with -lstdc++fs
)
Relative Paths for Filesystem
P0219R1
- 8 __cpp_lib_filesystem >= 201606
Adapting string_view by filesystem paths
+ 8.1 __cpp_lib_filesystem >= 201606
Adapting string_view by filesystem paths
P0392R0
- 8 __cpp_lib_filesystem >= 201606
Directory Entry Caching for Filesystem
+ 8.1 __cpp_lib_filesystem >= 201606
Directory Entry Caching for Filesystem
P0317R1
- 8 __cpp_lib_filesystem >= 201703
constexpr atomic<T>::is_always_lock_free
+ 8.1 __cpp_lib_filesystem >= 201703
constexpr atomic<T>::is_always_lock_free
P0152R1
@@ -820,7 +820,7 @@ Feature-testing recommendations for C++.
P0067R5
- 8 (only integral types supported) __has_include(<charconv>)
+ 8.1 (only integral types supported) __has_include(<charconv>)
__cpp_lib_to_chars >= 201611
Note 1: This feature is supported in GCC 7.1 and 7.2 but before GCC 7.3 the
__cpp_lib
macro is not defined, and compilation will fail if the
@@ -874,7 +874,10 @@ and test for __STDCPP_MATH_SPEC_FUNCS__ >= 201003L
.
N4521
-
fundamentals_v1
)
+ memory_resource
__has_include(<memory_resource>)
,
__cpp_lib_memory_resource >= 201603
__cpp_lib_constexpr_char_traits >= 201611
__has_include(<filesystem>)
,
__cpp_lib_filesystem >= 201603
(requires linking with -lstdc++fs
)
@@ -704,7 +703,7 @@ Feature-testing recommendations for C++.
P0219R1
__cpp_lib_filesystem >= 201606
__cpp_lib_filesystem >= 201606
__cpp_lib_filesystem >= 201703
__has_include(<charconv>)
__cpp_lib_to_chars >= 201611
__STDCPP_MATH_SPEC_FUNCS__ >= 201003L
.
fundamentals_v1
)
+