aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
AgeCommit message (Collapse)AuthorFilesLines
2012-01-19re PR libstdc++/51845 ↵Jakub Jelinek3-1/+82
(23_containers/unordered_multimap/erase/24061-multimap.cc segfault) PR libstdc++/51845 * include/bits/hashtable.h (_Hashtable<>::erase(const_iterator, const_iterator)): Also update _M_buckets[__n_bkt] if __is_bucket_begin. * testsuite/23_containers/unordered_multimap/erase/51845-multimap.cc: New test. From-SVN: r183300
2012-01-18acinclude (GLIBCXX_CONFIGURE_DOCBOOK): Fix quoting.Benjamin Kosnik3-4/+8
2012-01-18 Benjamin Kosnik <bkoz@redhat.com> * acinclude (GLIBCXX_CONFIGURE_DOCBOOK): Fix quoting. From-SVN: r183290
2012-01-18configure.ac: Move epub checks...Benjamin Kosnik4-72/+49
2012-01-18 Benjamin Kosnik <bkoz@redhat.com> * configure.ac: Move epub checks... * acinclude (GLIBCXX_CONFIGURE_DOCBOOK): ...here, use test -f instead of AC_CHECK_FILES. From-SVN: r183288
2012-01-18re PR libstdc++/51866 ([c++0x][4.7 Regression] unordered_multiset compares ↵François Dumont4-8/+194
moved-out values) 2012-01-18 François Dumont <fdumont@gcc.gnu.org> Roman Kononov <roman@binarylife.net> PR libstdc++/51866 * include/bits/hashtable.h (_Hashtable<>::_M_insert(_Arg, false_type)): Do not keep a reference to a potentially moved instance. * testsuite/23_containers/unordered_multiset/insert/51866.cc: New. * testsuite/23_containers/unordered_multimap/insert/51866.cc: New. Co-Authored-By: Roman Kononov <roman@binarylife.net> From-SVN: r183285
2012-01-17*: Regenerate.Benjamin Kosnik53-232/+256
2012-01-17 Benjamin Kosnik <bkoz@redhat.com> * doc/html/*: Regenerate. From-SVN: r183264
2012-01-17configure.ac (BUILD_EPUB): Adjust for epub3.Benjamin Kosnik13-105/+96
2012-01-17 Benjamin Kosnik <bkoz@redhat.com> * configure.ac (BUILD_EPUB): Adjust for epub3. * configure: Regenerate. * Makefile.in: Same. * doc/Makefile.am (stamp-epub-docbook): Update for epub3. * doc/Makefile.in: Regenerate. * include/Makefile.in: Same. * libsupc++/Makefile.in: Same. * po/Makefile.in: Same. * python/Makefile.in: Same. * src/Makefile.in: Same. * testsuite/Makefile.in: Same. * doc/xml/manual/documentation_hacking.xml: Update. From-SVN: r183263
2012-01-17Link libstdc++ with -lpthread on IRIX 6 (PR target/47852)Rainer Orth2-0/+9
PR target/47852 * configure.host (irix6.5*): Add -lpthread to OPT_LDFLAGS. From-SVN: r183251
2012-01-14* include/bits/stl_iterator.h (reverse_iterator): Doxygen comments.Jonathan Wakely2-26/+37
From-SVN: r183182
2012-01-13hashtable_policy.h (_Hash_node_base): New, use it as base class of ...François Dumont3-323/+230
2012-01-13 François Dumont <fdumont@gcc.gnu.org> * include/bits/hashtable_policy.h (_Hash_node_base): New, use it as base class of ... (_Hash_node<Value, true>, _Hash_node<Value, false>): ... those. * include/bits/hashtable.h (_Hashtable): Replace _M_begin_bucket_index by _M_before_begin. Review implementation so that we do not need to look for previous non-empty bucket when inserting nodes. From-SVN: r183164
2012-01-09[multiple changes]Benjamin Kosnik2-10/+36
2012-01-09 Kai Tietz <ktietz@redhat.com> PR libstc++/51673 part 2 * config/abi/pre/gnu-versioned-namespace.ver: Adjusted new/delete operators signature for LLP64 size_t, and adjusted signatures for mt-allocator using size_t. 2012-01-09 Benjamin Kosnik <bkoz@redhat.com> PR libstc++/51673 part 1 * config/abi/pre/gnu-versioned-namespace.ver: Sync cxxabi symbols with gnu.ver. From-SVN: r183043
2012-01-09fragment.am (WARN_CXXFLAGS): Add -Wabi.Benjamin Kosnik10-9/+21
2012-01-09 Benjamin Kosnik <bkoz@redhat.com> * fragment.am (WARN_CXXFLAGS): Add -Wabi. * Makefile.in: Regenerate. * doc/Makefile.in: Same. * include/Makefile.in: Same. * libsupc++/Makefile.in: Same. * src/Makefile.in: Same. * testsuite/Makefile.in: Same. * po/Makefile.in: Same. * python/Makefile.in: Same. From-SVN: r183034
2012-01-08printers.py (StdForwardListPrinter): Add.Jonathan Wakely3-0/+133
* python/libstdcxx/v6/printers.py (StdForwardListPrinter): Add. * testsuite/libstdc++-prettyprinters/cxx11.cc: New. From-SVN: r182989
2012-01-06re PR c++/6057 (expression mangling doesn't work for operator new)Jason Merrill2-1/+6
PR c++/6057 PR c++/48051 PR c++/50855 PR c++/51322 gcc/cp/ * mangle.c (write_expression): Support NEW_EXPR, DELETE_EXPR, THROW_EXPR, CONSTRUCTOR, OVERLOAD. Fix PREINCREMENT_EXPR and PREDECREMENT_EXPR. (write_template_arg): Fix mangling of class-scope functions and argument packs. (mangle_decl): Update suggested -fabi-version argument. * operators.def: Add DOTSTAR_EXPR, REINTERPRET_CAST_EXPR, DYNAMIC_CAST_EXPR; correct CONST_CAST_EXPR, STATIC_CAST_EXPR. * tree.c (dependent_name): No longer static. * cp-tree.h: Declare it. * pt.c (unify): Defer handling of unconverted functions. include/ * demangle.h (enum demangle_component_type): Add DEMANGLE_COMPONENT_INITIALIZER_LIST, DEMANGLE_COMPONENT_NULLARY. libiberty/ * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_NULLARY and DEMANGLE_COMPONENT_INITIALIZER_LIST. (d_make_comp): Likewise. Allow null right arg for DEMANGLE_COMPONENT_TRINARY_ARG2. (cplus_demangle_operators): Adjust new/delete; add .*, :: and throw. (d_template_args, d_template_arg): Handle 'J' for argument packs. (d_exprlist): Add terminator parm. (d_expression, d_print_comp): Handle initializer lists, nullary expressions, prefix/suffix operators, and new. (d_print_subexpr): Avoid parens around DEMANGLE_COMPONENT_QUAL_NAME and DEMANGLE_COMPONENT_INITIALIZER_LIST. * testsuite/demangle-expected: Add tests. From-SVN: r182970
2012-01-06re PR libstdc++/51504 (Data race hunting instructions in manual do not work)Jonathan Wakely2-7/+23
PR libstdc++/51504 * doc/xml/manual/debug.xml: Suggest using symbol interposition to override symbols using annotation macros. From-SVN: r182943
2012-01-05hashtable_policy.h (_Hashtable_base<>::_M_eq()): protected rather than ↵François Dumont7-3/+133
private, use it... 2012-01-05 François Dumont <fdumont@gcc.gnu.org> * include/bits/hashtable_policy.h (_Hashtable_base<>::_M_eq()): protected rather than private, use it... * include/bits/hashtable.h (_Hashtable<>::key_eq()): ... here. * testsuite/23_containers/unordered_set/observers.cc: New. * testsuite/23_containers/unordered_multiset/observers.cc: New. * testsuite/23_containers/unordered_map/observers.cc: New. * testsuite/23_containers/unordered_multimap/observers.cc: New. From-SVN: r182928
2012-01-05Restore 2012 entries that hasn't been saved.François Dumont1-0/+10
From-SVN: r182926
2012-01-05Roll ChangeLog file, move 2012 entries in the new ChangeLog.François Dumont2-6376/+6365
From-SVN: r182925
2012-01-03hashtable_policy.h (_Ebo_helper<>): Rename to the more specific ↵François Dumont2-34/+47
_Hashtable_ebo_helper. 2012-01-03 François Dumont <fdumont@gcc.gnu.org> * include/bits/hashtable_policy.h (_Ebo_helper<>): Rename to the more specific _Hashtable_ebo_helper. Hide this implementation detail thanks to private inheritance. From-SVN: r182857
2012-01-03re PR c++/51738 (C++11 initializer list does not work correctly with operator[])Paolo Carlini2-0/+47
/gcc/cp 2012-01-03 Paolo Carlini <paolo.carlini@oracle.com> PR c++/51738 * parser.c (cp_parser_postfix_open_square_expression): Handle postfix-expression [ braced-init-list ]. /gcc/testsuite 2012-01-03 Paolo Carlini <paolo.carlini@oracle.com> PR c++/51738 * g++.dg/cpp0x/initlist-postfix-open-square.C: New. /libstdc++-v3 2012-01-03 Paolo Carlini <paolo.carlini@oracle.com> PR c++/51738 * testsuite/23_containers/map/element_access/39901.cc: New. From-SVN: r182856
2011-12-31Fix _Locale vs. _Local typos.Jonathan Wakely1-1/+1
From-SVN: r182756
2011-12-30extensions.xml: Improve markup and note that some extensions are included in ↵Jonathan Wakely3-41/+61
C++11. * doc/xml/manual/extensions.xml: Improve markup and note that some extensions are included in C++11. * doc/xml/manual/concurrency_extensions.xml: Likewise. From-SVN: r182742
2011-12-30re PR libstdc++/51711 (regex.h contains incorrect code)Paolo Carlini4-1/+71
2011-12-30 Paolo Carlini <paolo.carlini@oracle.com> PR libstdc++/51711 * include/bits/regex.h (regex_replace): Fix thinko. * testsuite/28_regex/algorithms/regex_replace/char/51711.cc: New. * testsuite/28_regex/algorithms/regex_replace/wchar_t/51711.cc: Likewise. From-SVN: r182740
2011-12-29hashtable_policy.h (struct _Ebo_helper<>): Don't use _N, badname on Solaris; ↵Paolo Carlini2-21/+26
minor stylistic changes. 2011-12-29 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/hashtable_policy.h (struct _Ebo_helper<>): Don't use _N, badname on Solaris; minor stylistic changes. From-SVN: r182734
2011-12-29re PR libstdc++/51608 ([C++11] Unordered containers end(size_type) isn't ↵François Dumont14-200/+779
constant time) 2011-12-29 François Dumont <fdumont@gcc.gnu.org> PR libstdc++/51608 * include/bits/hashtable_policy.h (_Equal_helper<>): New, change the way the _Equal functor is used depending on whether hash code is cached or not. (_Ebo_helper<>): New helper type to introduce EBO when possible. (_Hash_code_base): Use _Ebo_helper to limit memory footprint. Move _Equal functor management... (_Hashtable_base): ...here, new, use _Equal_helper. (_Local_iterator_base<>, _Locale_iterator<>, _Locale_const_iterator<>): New, use _Hash_code_base, implementation of... * include/bits/hashtable.h (_Hashtable<>::local_iterator, _Hashtable<>::const_local_iterator): ...those. Add static assertions checking that some functors are empty depending on whether hash code is cache or not. (_Hashtable<>::_M_bucket_index): New overloads using current bucket count, use through out the _Hastable<> implementation. * include/bits/unordered_set.h (__unordered_set<>, __unordered_multiset<>): Cache hash code iff hash functor is not empty and not final. * include/bits/unordered_map.h (__unordered_map<>, __unordered_multimap<>): Likewise. * include/debug/unordered_map (unordered_map<>::_S_to_local, unordered_multimap<>::_S_to_local): Adapt to match new local iterator implementation. * include/debug/unordered_set (unordered_set<>::_S_to_local, unordered_multiset<>::_S_to_local): Likewise. * include/profile/unordered_map (unordered_map<>::_M_profile_destruct, unordered_multimap<>::_M_profile_destruct): Enhance thanks to usage of local iterators. * include/profile/unordered_set (unordered_set<>::_M_profile_destruct, unordered_multiset<>::_M_profile_destruct): Likewise. * testsuite_files/23_containers/unordered_set/instantiation_neg.cc: Fix error line. * testsuite_files/23_containers/unordered_set/final_hash.cc: New. * testsuite_files/23_containers/unordered_multiset/final_hash.cc: New. * testsuite_files/23_containers/unordered_map/final_hash.cc: New. * testsuite_files/23_containers/unordered_multimap/final_hash.cc: New. From-SVN: r182727
2011-12-29re PR libstdc++/51701 (Remove reference to Henry Suter's RWLock from ↵Jonathan Wakely2-7/+6
documentation) PR libstdc++/51701 * doc/xml/manual/extensions.xml (Input and Output): Remove reference to RWLock class. From-SVN: r182724
2011-12-23weak_ptr_expired.cc: Modify to PASS instead of XFAIL.Jonathan Wakely2-8/+10
* testsuite/tr1/2_general_utilities/shared_ptr/cons/ weak_ptr_expired.cc: Modify to PASS instead of XFAIL. From-SVN: r182661
2011-12-23* config/os/mingw32-w64/os_defines.h (__USE_MINGW_ANSI_STDIO): Define.Kai Tietz2-0/+10
From-SVN: r182660
2011-12-23* include/c_global/cinttypes: Update comments that refer to TR1.Jonathan Wakely2-10/+8
From-SVN: r182659
2011-12-23re PR libstdc++/49204 ([C++0x] remaining issues in <future>)Jonathan Wakely2-3/+8
PR libstdc++/49204 * include/std/future (future_errc): Implement LWG 2056. From-SVN: r182658
2011-12-23regex.h (match_results::size_type): Use allocator_traits.Jonathan Wakely2-2/+7
* include/bits/regex.h (match_results::size_type): Use allocator_traits. From-SVN: r182645
2011-12-22re PR libstdc++/48362 (pretty printer fails for zero-size std::tuple<>)Jonathan Wakely2-0/+41
PR libstdc++/48362 * testsuite/libstdc++-prettyprinters/48362.cc: New. From-SVN: r182632
2011-12-22re PR libstdc++/48362 (pretty printer fails for zero-size std::tuple<>)Jonathan Wakely2-4/+12
PR libstdc++/48362 * python/libstdcxx/v6/printers.py (StdTuplePrinter): Handle empty tuples. From-SVN: r182620
2011-12-20re PR libstdc++/51365 (cannot use final empty class in std::tuple)Jonathan Wakely3-3/+42
PR libstdc++/51365 * include/std/tuple (_Tuple_impl): Check __is_final as well as is_empty. * testsuite/20_util/tuple/51365.cc: New. From-SVN: r182523
2011-12-20eh_tm.cc (free_any_cxa_exception): Use __GCC_ATOMIC_INT_LOCK_FREE, not ↵Benjamin Kosnik2-2/+7
_GLIBCXX_ATOMIC_BUILTINS_4. 2011-12-19 Benjamin Kosnik <bkoz@redhat.com> * libsupc++/eh_tm.cc (free_any_cxa_exception): Use __GCC_ATOMIC_INT_LOCK_FREE, not _GLIBCXX_ATOMIC_BUILTINS_4. From-SVN: r182512
2011-12-19search_n.cc: Disambiguate local variable.Benjamin Kosnik2-4/+9
2011-12-19 Benjamin Kosnik <bkoz@redhat.com> * testsuite/performance/25_algorithms/search_n.cc: Disambiguate local variable. From-SVN: r182510
2011-12-18iterators.xml: Replace "sect1" with "section".Jonathan Wakely5-8/+15
* doc/xml/manual/iterators.xml: Replace "sect1" with "section". * doc/xml/manual/algorithms.xml: Likewise. * doc/html/manual/iterators.html: Likewise. * doc/html/manual/algorithms.html: Likewise. From-SVN: r182453
2011-12-16re PR target/51135 (SIGSEGV during exception cleanup on win32)Kai Tietz5-3/+21
PR libstdc++/51135 * libsupc++/unwind-cxx.h (__cxa_exception): Mark exceptionDestructor by _GLIBCXX_CDTOR_CALLABI. * libsupc++/eh_throw.cc (__cxa_throw): Mark destructor function argument by _GLIBCXX_CDTOR_CALLABI. * libsupc++/cxxabi.h (__cxa_throw): Likewise. (_GLIBCXX_CDTOR_CALLABI): Add empty default definition. * config/os/mingw32-w64/os_defines.h (_GLIBCXX_CDTOR_CALLABI): Define for IA-32 target as __thiscall. * config/os/mingw32/os_defines.h (_GLIBCXX_CDTOR_CALLABI): Likewise. From-SVN: r182410
2011-12-15re PR libstdc++/51558 (Declaration of unspecialized ↵Paolo Carlini7-27/+75
std::hash<_Tp>::operator()(_Tp) turns compile-time errors into link-time errors) 2011-12-15 Paolo Carlini <paolo.carlini@oracle.com> Jonathan Wakely <jwakely.gcc@gmail.com> PR libstdc++/51558 * include/bits/functional_hash.h (struct hash): Add static_assert. * src/compatibility-c++0x.cc: Adjust compatibility definitions. * testsuite/23_containers/unordered_map/erase/51142.cc: Adjust. * testsuite/23_containers/unordered_set/erase/51142.cc: Likewise. * testsuite/23_containers/unordered_multimap/erase/51142.cc: Likewise. * testsuite/23_containers/unordered_multiset/erase/51142.cc: Likewise. Co-Authored-By: Jonathan Wakely <jwakely.gcc@gmail.com> From-SVN: r182392
2011-12-159780-2.cc: Add test for "C" locale, add sanity checks in case of grouping.Benjamin Kosnik2-9/+51
2011-12-15 Benjamin Kosnik <bkoz@redhat.com> * testsuite/22_locale/num_put/put/char/9780-2.cc: Add test for "C" locale, add sanity checks in case of grouping. From-SVN: r182385
2011-12-15re PR libstdc++/51540 (doxygen documentation for partial_sum misleading)Jonathan Wakely2-8/+14
PR libstdc++/51540 * include/bits/stl_numeric.h (partial_sum): Adjust doxygen comments. From-SVN: r182359
2011-12-12revert: re PR target/51135 (SIGSEGV during exception cleanup on win32)Paolo Carlini6-24/+16
2011-12-12 Paolo Carlini <paolo.carlini@oracle.com> Revert: 2011-12-12 Kai Tietz <ktietz@redhat.com> PR libstdc++/51135 * libsupc++/cxxabi.h (__cxa_dtor_type): New type. (__cxa_throw): Use it for destructor-argument. * libsupc++/eh_throw.cc (__cxa_throw): Likewise. * libsupc++/unwind-cxx.h (__cxa_exception): Change type of member exceptionDestructor to __cxa_dtor_type. * config/os/mingw32-w64/os_defines.h (_GLIBCXX_USE_THISCALL_ON_DTOR): Define. (__cxa_dtor_type): Declare target secific type variant. * config/os/mingw32/os_defines.h: Likewise. From-SVN: r182250
2011-12-122011-12-12 Paolo Carlini <paolo.carlini@oracle.com>Paolo Carlini1-2/+6
* Revert the last commit. From-SVN: r182249
2011-12-12Correct bug-number in ChangeLog.Kai Tietz1-1/+1
PR libstdc++/51135 * libsupc++/cxxabi.h (__cxxabi_dtor_type): New type. (__cxa_throw): Use it for destructor-argument. * libsupc++/eh_throw.cc (__cxa_throw): Likewise. * libsupc++/unwind-cxx.h (__cxa_exception): Change type of member exceptionDestructor to __cxxabi_dtor_type. * config/os/mingw32-w64/os_defines.h (_GLIBCXX_USE_THISCALL_ON_DTOR): Define. (__cxa_dtor_type): Declare target secific type variant. * config/os/mingw32/os_defines.h: Likewise. From-SVN: r182238
2011-12-12PR libstdc++/511135Kai Tietz6-10/+43
* libsupc++/cxxabi.h (__cxxabi_dtor_type): New type. (__cxa_throw): Use it for destructor-argument. * libsupc++/eh_throw.cc (__cxa_throw): Likewise. * libsupc++/unwind-cxx.h (__cxa_exception): Change type of member exceptionDestructor to __cxxabi_dtor_type. * config/os/mingw32-w64/os_defines.h (_GLIBCXX_USE_THISCALL_ON_DTOR): Define. (__cxa_dtor_type): Declare target secific type variant. * config/os/mingw32/os_defines.h: Likewise. From-SVN: r182237
2011-12-11abi.xml: Replace gcc-x.y.z with GCC x.y.z or x.y...Jonathan Wakely53-502/+526
* doc/xml/manual/abi.xml: Replace gcc-x.y.z with GCC x.y.z or x.y, remove excessive duplication of version information. * doc/html/*: Regenerate. From-SVN: r182206
2011-12-112011-12-11 Paolo Carlini <paolo.carlini@oracle.com>Paolo Carlini1-0/+1
* Tweak ChangeLog. From-SVN: r182200
2011-12-10user.cfg.in: Add macros, directories.Benjamin Kosnik21-361/+404
2011-12-10 Benjamin Kosnik <bkoz@redhat.com> * doc/doxygen/user.cfg.in: Add macros, directories. * include/bits/locale_classes.h: Remove doxygen warnings, fix markup. * include/bits/locale_classes.tcc: Same. * include/bits/shared_ptr.h: Same. * include/bits/stl_algo.h: Same. * include/bits/stl_list.h: Same. * include/bits/stl_numeric.h: Same. * include/debug/safe_base.h: Same. * include/parallel/equally_split.h: Same. * include/std/bitset: Same. * include/std/complex: Same. * include/std/fstream: Same. * include/std/istream: Same. * include/std/ostream: Same. * include/tr2/dynamic_bitset: Same. * scripts/run_doxygen: Remove munging for names that no longer exist. * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Adjust line numbers. * testsuite/23_containers/list/requirements/dr438/ constructor_1_neg.cc: Same. * testsuite/23_containers/list/requirements/dr438/ constructor_2_neg.cc: Same. * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same. From-SVN: r182189
2011-12-10unordered_set: Minor formatting changes.François Dumont3-124/+206
2011-12-12 François Dumont <fdumont@gcc.gnu.org> * include/profile/unordered_set: Minor formatting changes. (unordered_set<>::_M_profile_destruct, unordered_multiset<>::_M_profile_destruct): Fix implementation to not rely on normal implementation details anymore. (unordered_set<>::_M_profile_resize, unordered_multiset<>::_M_profile_resize): Implement consistently accross all unordered containers. (unordered_set<>::emplace, unordered_set<>::emplace_hint, unordered_multiset<>::emplace, unordered_multset<>::emplace_hint): Add to signal rehash to profiling system. * include/profile/unordered_map: Likewise for unordered_map<> and unordered_multimap<>. From-SVN: r182188
2011-12-09hashtable.h (_Hashtable<>::emplace, [...]): Add.François Dumont11-5/+780
2011-12-09 François Dumont <fdumont@gcc.gnu.org> * include/bits/hashtable.h (_Hashtable<>::emplace, _Hashtable<>::emplace_hint): Add. * include/debug/unordered_set (unordered_set<>::emplace, unordered_set<>::emplace_hint, unordered_multiset<>::emplace, unordered_multiset<>::emplace_hint): Add. * include/profile/unordered_set: Likewise. * include/debug/unordered_map (unordered_map<>::emplace, unordered_map<>::emplace_hint, unordered_multimap<>::emplace, unordered_multimap<>::emplace_hint): Add. * include/profile/unordered_map: Likewise. * testsuite/23_containers/unordered_map/modifiers/emplace.cc: New. * testsuite/23_containers/unordered_multimap/modifiers/emplace.cc: New. * testsuite/23_containers/unordered_set/modifiers/emplace.cc: New. * testsuite/23_containers/unordered_multiset/modifiers/emplace.cc: New. * testsuite/util/testsuite_container_traits.h (traits_base::has_emplace): Add and defined as std::true_type for unordered containers. * testsuite/util/exception/safety.h (emplace, emplace_hint): Add and use them in basic_safety exception test case. * doc/xml/manual/status_cxx2011.xml: Update unordered containers status. From-SVN: r182174
2011-12-08atomic_base.h (__calculate_memory_order): Rename to...Jonathan Wakely3-15/+21
* include/bits/atomic_base.h (__calculate_memory_order): Rename to... (__cmpexch_failure_order): This, and rewrite as constexpr function. (compare_exchange_strong, compare_exchange_weak): Use it. * include/std/atomic (compare_exchange_strong, compare_exchange_weak): Likewise. From-SVN: r182105