summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3
Commit message (Collapse)AuthorAgeFilesLines
...
* 2012-01-18 François Dumont <fdumont@gcc.gnu.org>fdumont2012-01-184-8/+194
| | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183285 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-01-17 Benjamin Kosnik <bkoz@redhat.com>bkoz2012-01-1753-232/+256
| | | | | | * doc/html/*: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183264 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-01-17 Benjamin Kosnik <bkoz@redhat.com>bkoz2012-01-1713-105/+96
| | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183263 138bc75d-0d04-0410-961f-82ee72b054a4
* Link libstdc++ with -lpthread on IRIX 6 (PR target/47852)ro2012-01-172-0/+9
| | | | | | | PR target/47852 * configure.host (irix6.5*): Add -lpthread to OPT_LDFLAGS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183251 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/stl_iterator.h (reverse_iterator): Doxygen comments.redi2012-01-142-26/+37
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183182 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-01-13 François Dumont <fdumont@gcc.gnu.org>fdumont2012-01-133-323/+230
| | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183164 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-01-09 Kai Tietz <ktietz@redhat.com>bkoz2012-01-092-10/+36
| | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183043 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-01-09 Benjamin Kosnik <bkoz@redhat.com>bkoz2012-01-0910-9/+21
| | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183034 138bc75d-0d04-0410-961f-82ee72b054a4
* * python/libstdcxx/v6/printers.py (StdForwardListPrinter): Add.redi2012-01-083-0/+133
| | | | | | | * testsuite/libstdc++-prettyprinters/cxx11.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182989 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/6057jason2012-01-062-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182970 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/51504redi2012-01-062-7/+23
| | | | | | | | * doc/xml/manual/debug.xml: Suggest using symbol interposition to override symbols using annotation macros. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182943 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-01-05 François Dumont <fdumont@gcc.gnu.org>fdumont2012-01-057-3/+133
| | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182928 138bc75d-0d04-0410-961f-82ee72b054a4
* Restore 2012 entries that hasn't been saved.fdumont2012-01-051-0/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182926 138bc75d-0d04-0410-961f-82ee72b054a4
* Roll ChangeLog file, move 2012 entries in the new ChangeLog.fdumont2012-01-052-6376/+6365
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182925 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-01-03 François Dumont <fdumont@gcc.gnu.org>fdumont2012-01-032-34/+47
| | | | | | | | | * include/bits/hashtable_policy.h (_Ebo_helper<>): Rename to the more specific _Hashtable_ebo_helper. Hide this implementation detail thanks to private inheritance. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182857 138bc75d-0d04-0410-961f-82ee72b054a4
* /gcc/cppaolo2012-01-032-0/+47
| | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182856 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix _Locale vs. _Local typos.redi2011-12-311-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182756 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/xml/manual/extensions.xml: Improve markup and note that someredi2011-12-303-41/+61
| | | | | | | | extensions are included in C++11. * doc/xml/manual/concurrency_extensions.xml: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182742 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-12-30 Paolo Carlini <paolo.carlini@oracle.com>paolo2011-12-304-1/+71
| | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182740 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-12-29 Paolo Carlini <paolo.carlini@oracle.com>paolo2011-12-292-21/+26
| | | | | | | | * include/bits/hashtable_policy.h (struct _Ebo_helper<>): Don't use _N, badname on Solaris; minor stylistic changes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182734 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-12-29 François Dumont <fdumont@gcc.gnu.org>fdumont2011-12-2914-200/+779
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182727 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/51701redi2011-12-292-7/+6
| | | | | | | | * doc/xml/manual/extensions.xml (Input and Output): Remove reference to RWLock class. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182724 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/tr1/2_general_utilities/shared_ptr/cons/redi2011-12-232-8/+10
| | | | | | | weak_ptr_expired.cc: Modify to PASS instead of XFAIL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182661 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/os/mingw32-w64/os_defines.h (__USE_MINGW_ANSI_STDIO): Define.ktietz2011-12-232-0/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182660 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/c_global/cinttypes: Update comments that refer to TR1.redi2011-12-232-10/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182659 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/49204redi2011-12-232-3/+8
| | | | | | | | * include/std/future (future_errc): Implement LWG 2056. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182658 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/regex.h (match_results::size_type): Useredi2011-12-232-2/+7
| | | | | | | allocator_traits. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182645 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/48362redi2011-12-222-0/+41
| | | | | | | * testsuite/libstdc++-prettyprinters/48362.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182632 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/48362redi2011-12-222-4/+12
| | | | | | | | * python/libstdcxx/v6/printers.py (StdTuplePrinter): Handle empty tuples. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182620 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/51365redi2011-12-203-3/+42
| | | | | | | | | * include/std/tuple (_Tuple_impl): Check __is_final as well as is_empty. * testsuite/20_util/tuple/51365.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182523 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-12-19 Benjamin Kosnik <bkoz@redhat.com>bkoz2011-12-202-2/+7
| | | | | | | * libsupc++/eh_tm.cc (free_any_cxa_exception): Use __GCC_ATOMIC_INT_LOCK_FREE, not _GLIBCXX_ATOMIC_BUILTINS_4. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182512 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-12-19 Benjamin Kosnik <bkoz@redhat.com>bkoz2011-12-192-4/+9
| | | | | | | * testsuite/performance/25_algorithms/search_n.cc: Disambiguate local variable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182510 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/xml/manual/iterators.xml: Replace "sect1" with "section".redi2011-12-185-8/+15
| | | | | | | | | * doc/xml/manual/algorithms.xml: Likewise. * doc/html/manual/iterators.html: Likewise. * doc/html/manual/algorithms.html: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182453 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/51135ktietz2011-12-165-3/+21
| | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182410 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-12-15 Paolo Carlini <paolo.carlini@oracle.com>paolo2011-12-157-27/+75
| | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182392 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-12-15 Benjamin Kosnik <bkoz@redhat.com>bkoz2011-12-152-9/+51
| | | | | | | * testsuite/22_locale/num_put/put/char/9780-2.cc: Add test for "C" locale, add sanity checks in case of grouping. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182385 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/51540redi2011-12-152-8/+14
| | | | | | | * include/bits/stl_numeric.h (partial_sum): Adjust doxygen comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182359 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-12-12 Paolo Carlini <paolo.carlini@oracle.com>paolo2011-12-126-24/+16
| | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182250 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-12-12 Paolo Carlini <paolo.carlini@oracle.com>paolo2011-12-121-2/+6
| | | | | | | * Revert the last commit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182249 138bc75d-0d04-0410-961f-82ee72b054a4
* Correct bug-number in ChangeLog.ktietz2011-12-121-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182238 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libstdc++/511135ktietz2011-12-126-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182237 138bc75d-0d04-0410-961f-82ee72b054a4
* * doc/xml/manual/abi.xml: Replace gcc-x.y.z with GCC x.y.z or x.y,redi2011-12-1153-502/+526
| | | | | | | | remove excessive duplication of version information. * doc/html/*: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182206 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-12-11 Paolo Carlini <paolo.carlini@oracle.com>paolo2011-12-111-0/+1
| | | | | | | * Tweak ChangeLog. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182200 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-12-10 Benjamin Kosnik <bkoz@redhat.com>bkoz2011-12-1021-361/+404
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182189 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-12-12 François Dumont <fdumont@gcc.gnu.org>fdumont2011-12-103-124/+206
| | | | | | | | | | | | | | | | | | * 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<>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182188 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-12-09 François Dumont <fdumont@gcc.gnu.org>fdumont2011-12-0911-5/+780
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182174 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/bits/atomic_base.h (__calculate_memory_order): Rename to...redi2011-12-083-15/+21
| | | | | | | | | | (__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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182105 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-12-07 François Dumont <fdumont@gcc.gnu.org>fdumont2011-12-072-13/+27
| | | | | | | | | | PR libstdc++/51386 * include/bits/hashtable_policy.h (_Prime_rehash_policy::_M_next_bkt): Fix computation of _M_prev_resize so that hashtable do not keep on being rehashed when _M_max_load_factor is lower than 1. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182085 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-12-06 Paolo Carlini <paolo.carlini@oracle.com>paolo2011-12-0622-117/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR libstdc++/51438 * libsupc++/nested_exception.h (nested_exception::~nested_exception): Declare noexcept. * libsupc++/nested_exception.cc: Adjust. * testsuite/18_support/nested_exception/51438.cc: New. * testsuite/18_support/nested_exception/throw_with_nested.cc: Adjust. * testsuite/18_support/nested_exception/rethrow_if_nested.cc: Likewise. * src/shared_ptr.cc: Use noexcept where appropriate. * include/std/system_error: Likewise. * include/std/functional: Likewise. * include/bits/shared_ptr_base.h: Likewise. * src/stdexcept.cc: Use _GLIBCXX_USE_NOEXCEPT where appropriate. * include/std/stdexcept: Likewise. * libsupc++/bad_cast.cc: Likewise. * libsupc++/bad_typeid.cc: Likewise. * libsupc++/eh_exception.cc: Likewise. * libsupc++/typeinfo: Likewise. * libsupc++/exception: Likewise. * libsupc++/eh_ptr.cc: Likewise. * libsupc++/bad_alloc.cc: Likewise. * libsupc++/exception_ptr.h: Likewise. * include/std/chrono: Use noexcept where appropriate. * src/chrono.cc: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182064 138bc75d-0d04-0410-961f-82ee72b054a4
* 2011-12-06 Jonathan Wakely <jwakely.gcc@gmail.com>paolo2011-12-064-25/+99
| | | | | | | | | | | | | | | | | | | Chris Jefferson <chris@bubblescope.net> PR libstdc++/51183 * include/std/stl_pair.h (pair<>::__cons, pair<>::__do_cons): Remove. (pair<>::pair(piecewise_construct_t, tuple<>, tuple<>): Only declare. (pair<>::pair(tuple<>&, tuple<>&, _Index_tuple<>, _Index_tuple<>)): Declare. * include/std/tuple (pair<>::__cons, pair<>::__do_cons): Remove. (pair<>::pair(tuple<>&, tuple<>&, _Index_tuple<>, _Index_tuple<>)): Define. (pair<>::pair(piecewise_construct_t, tuple<>, tuple<>): Define, delegating to the latter. * testsuite/20_util/pair/piecewise2.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182054 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud