https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92855
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- # 33 "/bajas/pinskia/src/toolchain-10/marvell-tools-be/aarch64_be-marvell-linux-gnu/include/c++/10.0.0/ext/concurrence.h" 3 ... namespace __gnu_cxx __attribute__ ((__visibility__ ("default"))) { ... enum _Lock_policy { _S_single, _S_mutex, _S_atomic }; ... # 57 "/bajas/pinskia/src/toolchain-10/marvell-tools-be/aarch64_be-marvell-linux-gnu/include/c++/10.0.0/bits/shared_ptr_base.h" 2 3 namespace std __attribute__ ((__visibility__ ("default"))) { .... template<_Lock_policy _Lp = __default_lock_policy> class _Sp_counted_base : public _Mutex_base<_Lp> --- CUT --- I am not going to audit all of the functions to prove that the libstdc++ headers have this.