Skip to content
Snippets Groups Projects
  1. Jan 03, 2013
  2. Dec 21, 2012
    • Kai Tietz's avatar
      os_defines.h (_GLIBCXX_LLP64): Define if llp64 abi is used. · 3cc6dd4d
      Kai Tietz authored
      	* config/os/mingw32/os_defines.h (_GLIBCXX_LLP64): Define if llp64
      	abi is used.
      	* config/os/mingw32-w64/os_defines.h: Likewise.
      	* libsupc++/cxxabi.h (__base_class_type_info): Adjust
      	type of __offset_flags for llp64.
      	* libsupc++/eh_alloc.cc (EMERGENCY_OBJ_SIZE): Define proper
      	for llp64 abi.
      	(EMERGENCY_OBJ_COUNT): Likewise.
      	(bitmask_type): Likewise.
      	* libsupc++/hash_bytes.cc (_Hash_bytes): Handle llp64.
      
      From-SVN: r194658
      3cc6dd4d
  3. Dec 20, 2012
    • Jonathan Wakely's avatar
      functional (_Require): Move to ... · 23df8534
      Jonathan Wakely authored
      	* include/std/functional (_Require): Move to ...
      	* include/std/type_traits (_Require): ... here.
      	* include/bits/shared_ptr_base.h (__shared_count::_S_create_from_up):
      	Handle unique_ptr for arrays or with custom pointer types.
      	(__shared_ptr::__shared_ptr(unique_ptr<_Tp1, _Del>&&): Likewise.
      	* include/bits/unique_ptr.h (unique_ptr<_Tp[], _Dp>): Use
      	_Dp::pointer if defined. Implement proposed resolution of LWG 2118.
      	* testsuite/20_util/shared_ptr/cons/unique_ptr_array.cc: New.
      	* testsuite/20_util/unique_ptr/assign/cv_qual.cc: New.
      	* testsuite/20_util/unique_ptr/cons/array_convertible_neg.cc: New.
      	* testsuite/20_util/unique_ptr/cons/convertible_neg.cc: New.
      	* testsuite/20_util/unique_ptr/cons/cv_qual.cc: New.
      	* testsuite/20_util/unique_ptr/modifiers/cv_qual.cc: New.
      	* testsuite/20_util/unique_ptr/requirements/pointer_type_array.cc: New.
      	* testsuite/20_util/shared_ptr/cons/unique_ptr.cc: Adjust comments.
      	* testsuite/20_util/unique_ptr/cons/pointer_array_convertible_neg.cc:
      	Likewise.
      	* testsuite/20_util/unique_ptr/requirements/pointer_type.cc: Likewise.
      	* testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line number.
      	* testsuite/20_util/declval/requirements/1_neg.cc: Likewise.
      	* testsuite/20_util/default_delete/48631_neg.cc: Likewise.
      	* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Likewise.
      	* testsuite/20_util/unique_ptr/assign/48635_neg.cc: Likewise.
      	* testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust
      	dg-error text.
      	* testsuite/20_util/unique_ptr/cons/ptr_deleter_neg.cc: Use
      	different instantiations so static_assert fails for each.
      
      From-SVN: r194651
      23df8534
    • Jonathan Wakely's avatar
      re PR libstdc++/55741 (bootstrap fails in libstdc++-v3/src/c++11/thread.cc) · 8ed812cc
      Jonathan Wakely authored
      	PR libstdc++/55741
      	* acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Check for Sleep.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      	* src/c++11/thread.cc (__sleep_for): Use Sleep if available.
      
      From-SVN: r194635
      8ed812cc
  4. Dec 18, 2012
    • Jonathan Wakely's avatar
      abi.xml: Update URLs for C++ ABI. · 898be2f3
      Jonathan Wakely authored
      	* doc/xml/manual/abi.xml: Update URLs for C++ ABI.
      	* doc/xml/manual/policy_data_structures_biblio.xml: Add xmlns
      	attribute.
      	* doc/xml/manual/debug_mode.xml: Give filenames to chunks.
      	* doc/xml/manual/diagnostics.xml: Likewise.
      	* doc/xml/manual/extensions.xml: Likewise.
      	* doc/xml/manual/bitmap_allocator.xml: Likewise.
      	* doc/xml/manual/mt_allocator.xml: Likewise.
      	* doc/xml/manual/policy_data_structures.xml: Likewise.
      	* doc/xml/manual/parallel_mode.xml: Likewise.
      	* doc/xml/manual/profile_mode.xml: Likewise.
      	* doc/xml/manual/spine.xml: Likewise. Update copyright years.
      	* doc/html/*: Regenerate.
      
      From-SVN: r194576
      898be2f3
  5. Dec 17, 2012
  6. Dec 16, 2012
  7. Dec 14, 2012
    • Steve Ellcey's avatar
      3.cc: Shrink memory usage under simulator. · 2993114d
      Steve Ellcey authored
      2012-12-14  Steve Ellcey  <sellcey@mips.com>
      
      	* testsuite/21_strings/basic_string/append/wchar_t/3.cc: Shrink
      	memory usage under simulator.
      	* testsuite/21_strings/basic_string/cons/wchar_t/6.cc: Ditto.
      	* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc:
      	Ditto.
      	* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc:
      	Ditto.
      
      From-SVN: r194510
      2993114d
  8. Dec 13, 2012
    • Steve Ellcey's avatar
      18654.cc: Shrink memory usage under simulator. · 01f4c821
      Steve Ellcey authored
      2012-12-13  Steve Ellcey  <sellcey@mips.com>
      
      	* testsuite/21_strings/basic_string/capacity/char/18654.cc: Shrink
      	memory usage under simulator.
      	* testsuite/21_strings/basic_string/capacity/wchar_t/18654.cc: Ditto.
      	* testsuite/22_locale/collate/transform/char/28277.cc: Ditto.
      	* testsuite/22_locale/collate/transform/wchar_t/28277.cc: Ditto.
      
      From-SVN: r194488
      01f4c821
  9. Dec 12, 2012
  10. Dec 11, 2012
    • Jonathan Wakely's avatar
      re PR libstdc++/55631 (Several ext/ headers can not be #included on their own) · 3c523cf8
      Jonathan Wakely authored
      	PR libstdc++/55631
      	* include/ext/alloc_traits.h: Include missing header.
      	* include/ext/pointer.h: Likewise.
      	* include/ext/string_conversions.h: Require C++11.
      	* libsupc++/initializer_list: Reindent.
      
      From-SVN: r194429
      3c523cf8
    • Benjamin Kosnik's avatar
      Makefile.am (xml_sources_manual): Add policy_data_structures_biblio.xml. · 74080cba
      Benjamin Kosnik authored
      2012-12-10  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* doc/Makefile.am (xml_sources_manual): Add
      	policy_data_structures_biblio.xml.
      	(${docbook_outdir}/latex): Add.
      	(doc-xml-validate-docbook): Split into..
      	(doc-xml-validate-dtd-db):... this for DTD.
      	(doc-xml-validate-rng-db):... this for Relax NG.
      	(doc-pdf-docbook-dirs): Add.
      	(doc-pdf-docbook-pre): Add.
      	* doc/xml/manual/build_hacking.xml: Add literal markup.
      	* doc/xml/manual/documentation_hacking.xml: Clean whitespace in
      	<filename> markup. Add notes about debugging the generation process.
      	* doc/xml/manual/policy_data_structures.xml: Split biblio into...
      	* doc/xml/manual/policy_data_structures_biblio.xml: ... this. New.
      	* doc/xml/manual/test_policy_data_structures.xml: Fixup <filename>
      	markup.
      
      From-SVN: r194379
      74080cba
  11. Dec 10, 2012
  12. Dec 09, 2012
  13. Dec 04, 2012
  14. Dec 03, 2012
    • Benjamin Kosnik's avatar
      standard_policies.hpp: Remove. · cef1bc58
      Benjamin Kosnik authored
      2012-12-03  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/ext/pb_ds/detail/cc_hash_table_map_/standard_policies.hpp:
      	Remove.
      	* include/ext/pb_ds/detail/gp_hash_table_map_/standard_policies.hpp:
      	Remove.
       	* include/Makefile.am (pb_headers): Remove include files.
      	* include/Makefile.in: Regenerated.
      
      From-SVN: r194107
      cef1bc58
  15. Dec 01, 2012
  16. Nov 29, 2012
  17. Nov 28, 2012
    • Andrew Pinski's avatar
      re PR other/54279 (first stage build with g++ fails with "." as the first component of $PATH) · 5d99894e
      Andrew Pinski authored
      2012-11-28  Andrew Pinski  <apinski@cavium.com>
      
              PR bootstrap/54279
              * configure.ac (CXX_FOR_TARGET): Change over to use xg++.
              * configure: Regenerate.
              * Makefile.tpl (POSTSTAGE1_CXX_EXPORT): Change over to use xg++.
              * Makefile.in: Regenerate.
      
      2012-11-28  Andrew Pinski  <apinski@cavium.com>
      
              PR bootstrap/54279
              * Makefile.in (${QMTEST_DIR}/context): Use xg++ instead of g++.
      
      2012-11-28  Andrew Pinski  <apinski@cavium.com>
      
              PR bootstrap/54279
              * Make-lang.in (g++$(exeext)): Rename to
              (xg++$(exeext)): This.
              (g++-cross$(exeext)): Use xg++$(exeext) instead of g++$(exeext).
              (c++.start.encap): Likewise.
              (c++.install-common): Likewise.
      
      2012-11-28  Andrew Pinski  <apinski@cavium.com>
      
              PR bootstrap/54279
              * lib/g++.exp (g++_init): Search for xg++ instead of g++ in the build
              directories.
              * lib/obj-c++.exp (obj-c++_init): Likewise.
      
      2012-11-28  Andrew Pinski  <apinski@cavium.com>
      
              PR bootstrap/54279
              * scripts/testsuite_flags.in (--build-cxx): Use xg++ instead of g++.
              * testsuite/lib/libstdc++.exp (libstdc++_init): Likewise.
      
      From-SVN: r193910
      5d99894e
    • Jonathan Wakely's avatar
      functional (_Mem_fn): Constrain function call operators to avoid ambiguities. · b1c2b51b
      Jonathan Wakely authored
      	* include/std/functional (_Mem_fn): Constrain function call operators
      	to avoid ambiguities. Use perfect forwarding.
      	* testsuite/20_util/function_objects/mem_fn/55463.cc: Additional
      	tests.
      	* testsuite/20_util/function_objects/mem_fn/forward.cc: New.
      	* testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
      
      From-SVN: r193879
      b1c2b51b
  18. Nov 27, 2012
  19. Nov 26, 2012
  20. Nov 23, 2012
    • Jonathan Wakely's avatar
      re PR libstdc++/52680 (std::this_thread::sleep_for #ifdef'd out by _GLIBCXX_USE_NANOSLEEP) · aa66b299
      Jonathan Wakely authored
      	PR libstdc++/52680
      	* acinclude.m4 (GLIBCXX_ENABLE_LIBSTDCXX_TIME): Check for usleep and
      	sleep if nanosleep is not available. Bump libtool revision.
      	* config.h.in: Regenerate.
      	* configure: Likewise.
      	* config/abi/pre/gnu.ver (GLIBCXX_3.4.18): Add __sleep_for.
      	* include/std/thread (this_thread::__sleep_for): Add.
      	(this_thread::yield, this_thread::sleep_until, this_thread::sleep_for):
      	Declare unconditionally.
      	* src/c++11/thread.cc (this_thread::__sleep_for): Define.
      	* testsuite/lib/libstdc++.exp (check_v3_target_nanosleep): Rename to
      	check_v3_target_sleep.
      	* testsuite/lib/dg-options.exp (dg-require-nanosleep): Rename to
      	dg-require-sleep.
      	* testsuite/30_threads/condition_variable_any/53830.cc: Update.
      	* testsuite/30_threads/this_thread/2.cc: Likewise.
      	* testsuite/30_threads/this_thread/3.cc: Likewise.
      	* testsuite/30_threads/this_thread/4.cc: Likewise.
      	* testsuite/30_threads/async/54297.cc: Likewise.
      
      From-SVN: r193769
      aa66b299
  21. Nov 20, 2012
  22. Nov 19, 2012
    • Jonathan Wakely's avatar
      typedefs.cc: Check rebind and improve propagate_on_container_move_assignment check. · 0e8330d9
      Jonathan Wakely authored
      	* testsuite/20_util/allocator/requirements/typedefs.cc: Check rebind
      	and improve propagate_on_container_move_assignment check.
      
      From-SVN: r193639
      0e8330d9
    • Jonathan Wakely's avatar
      stl_algo.h (reverse_copy): Update comment per DR 2074. · 1b5dc776
      Jonathan Wakely authored
      	* include/bits/stl_algo.h (reverse_copy): Update comment per DR 2074.
      	* include/bits/unordered_map.h: Apply DR 2005 resolution.
      	* doc/xml/manual/status_cxx2011.xml: Update per DR 2048.
      	* include/bits/allocator.h (allocator): Apply DR 2103 resolution.
      	* include/ext/array_allocator.h: Likewise.
      	* include/ext/bitmap_allocator.h: Likewise.
      	* include/ext/malloc_allocator.h: Likewise.
      	* include/ext/mt_allocator.h: Likewise.
      	* include/ext/new_allocator.h: Likewise.
      	* include/ext/pool_allocator.h: Likewise.
      	* include/ext/throw_allocator.h: Likewise.
      	* include/ext/alloc_traits.h (__allocator_always_compares_equal): Add
      	additional specializations.
      	* include/std/functional: Add comment about DR resolution.
      	* include/std/future: Likewise.
      	* include/std/scoped_allocator: Likewise.
      	* include/std/thread: Likewise.
      	* testsuite/20_util/allocator/requirements/typedefs.cc: New.
      	* testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
      
      From-SVN: r193638
      1b5dc776
    • Jonathan Wakely's avatar
      hashtable.h: Improve comments. · 207585a6
      Jonathan Wakely authored
      	* include/bits/hashtable.h: Improve comments.
      	* include/bits/hashtable_policy.h: Likewise.
      
      From-SVN: r193636
      207585a6
  23. Nov 17, 2012
    • Paolo Carlini's avatar
      re PR libstdc++/55363 (tuple_size is not a class template) · 741aacaf
      Paolo Carlini authored
      2012-11-17  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/55363
      	* include/std/array (tuple_size, tuple_element): Move out
      	NAMESPACE_CONTAINER.
      	* testsuite/23_containers/array/tuple_interface/get_neg.cc: Adjust
      	dg-error line numbers.
      	* testsuite/23_containers/array/tuple_interface/tuple_element_neg.cc:
      	Likewise.
      
      From-SVN: r193584
      741aacaf
  24. Nov 16, 2012
    • François Dumont's avatar
      hashtable_policy.h (_Prime_rehash_policy): Remove automatic shrink. · d4a7f7a1
      François Dumont authored
      2012-11-16  François Dumont  <fdumont@gcc.gnu.org>
      
      	* include/bits/hashtable_policy.h (_Prime_rehash_policy): Remove
      	automatic shrink.
      	(_Prime_rehash_policy::_M_bkt_for_elements): Do not call
      	_M_next_bkt anymore.
      	(_Prime_rehash_policy::_M_next_bkt): Move usage of
      	_S_growth_factor ...
      	(_Prime_rehash_policy::_M_need_rehash): ... here.
      	* include/bits/hashtable.h (_Hashtable<>): Adapt.
      	* testsuite/performance/23_containers/insert_erase/41975.cc: Add
      	_USE_TR1 to force build using std::tr1 container.
      	* testsuite/performance/23_containers/insert/unordered_set.cc:
      	Likewise.
      	* testsuite/performance/23_containers/insert/54075.cc: New.
      
      From-SVN: r193576
      d4a7f7a1
    • Tom Tromey's avatar
      whatis.cc: New file. · 50605a7f
      Tom Tromey authored
      	* testsuite/libstdc++-prettyprinters/whatis.cc: New file.
      	* testsuite/lib/gdb-test.exp (whatis-test): New proc.
      	(gdb-test): Handle 'whatis' tests.
      	(gdb_batch_check): New proc.
      	(gdb_version_check): Rewrite to use gdb_batch_check.
      	* python/libstdcxx/v6/printers.py: Import gdb.types.
      	(FilteringTypePrinter): New class.
      	(add_one_type_printer, register_type_printers): New functions.
      	(register_libstdcxx_printers): Call register_type_printers.
      
      From-SVN: r193573
      50605a7f
  25. Nov 15, 2012
  26. Nov 14, 2012
    • Jonathan Wakely's avatar
      re PR libstdc++/55320 (Invalid delete with throwing copy-c'tor passed to std::function) · 99ace34a
      Jonathan Wakely authored
      	PR libstdc++/55320
      	* include/std/functional (function::function(F)): Set _M_manager after
      	operations that could throw.
      	(_Function_base::_Ref_manager::_M_init_functor): Use addressof.
      	* include/tr1/functional
      	(_Function_base::_Ref_manager::_M_init_functor): Use addressof.
      	(_Function_base::_Base_manager::_M_get_pointer): Likewise.
      	* testsuite/20_util/function/cons/55320.cc: New.
      	* testsuite/20_util/function/cons/addressof.cc: New.
      	* testsuite/20_util/function/cons/callable.cc: Remove header.
      	* testsuite/20_util/bind/ref_neg.cc: Adjust dg-error line numbers.
      	* testsuite/tr1/3_function_objects/function/10.cc: New.
      
      From-SVN: r193514
      99ace34a
    • Uros Bizjak's avatar
      abi_tag.cc: Adjust expected demangling for 128bit long-double targets. · 0c9afb50
      Uros Bizjak authored
      	* testsuite/26_numerics/complex/abi_tag.cc: Adjust expected
      	demangling for 128bit long-double targets.
      
      From-SVN: r193509
      0c9afb50
  27. Nov 12, 2012
  28. Nov 11, 2012
    • Andreas Schwab's avatar
      chapter.txml: Remove whitespace inside <keyword>. · 92eba400
      Andreas Schwab authored
      * doc/xml/chapter.txml: Remove whitespace inside <keyword>.
      * doc/xml/class.txml: Likewise.
      * doc/xml/manual/abi.xml: Likewise.
      * doc/xml/manual/algorithms.xml: Likewise.
      * doc/xml/manual/allocator.xml: Likewise.
      * doc/xml/manual/appendix_contributing.xml: Likewise.
      * doc/xml/manual/appendix_free.xml: Likewise.
      * doc/xml/manual/appendix_porting.xml: Likewise.
      * doc/xml/manual/atomics.xml: Likewise.
      * doc/xml/manual/auto_ptr.xml: Likewise.
      * doc/xml/manual/backwards_compatibility.xml: Likewise.
      * doc/xml/manual/bitmap_allocator.xml: Likewise.
      * doc/xml/manual/build_hacking.xml: Likewise.
      * doc/xml/manual/codecvt.xml: Likewise.
      * doc/xml/manual/concurrency.xml: Likewise.
      * doc/xml/manual/concurrency_extensions.xml: Likewise.
      * doc/xml/manual/configure.xml: Likewise.
      * doc/xml/manual/containers.xml: Likewise.
      * doc/xml/manual/ctype.xml: Likewise.
      * doc/xml/manual/debug.xml: Likewise.
      * doc/xml/manual/debug_mode.xml: Likewise.
      * doc/xml/manual/diagnostics.xml: Likewise.
      * doc/xml/manual/extensions.xml: Likewise.
      * doc/xml/manual/internals.xml: Likewise.
      * doc/xml/manual/intro.xml: Likewise.
      * doc/xml/manual/io.xml: Likewise.
      * doc/xml/manual/iterators.xml: Likewise.
      * doc/xml/manual/locale.xml: Likewise.
      * doc/xml/manual/localization.xml: Likewise.
      * doc/xml/manual/messages.xml: Likewise.
      * doc/xml/manual/mt_allocator.xml: Likewise.
      * doc/xml/manual/numerics.xml: Likewise.
      * doc/xml/manual/parallel_mode.xml: Likewise.
      * doc/xml/manual/policy_data_structures.xml: Likewise.
      * doc/xml/manual/prerequisites.xml: Likewise.
      * doc/xml/manual/profile_mode.xml: Likewise.
      * doc/xml/manual/shared_ptr.xml: Likewise.
      * doc/xml/manual/status_cxx1998.xml: Likewise.
      * doc/xml/manual/status_cxx2011.xml: Likewise.
      * doc/xml/manual/status_cxxtr1.xml: Likewise.
      * doc/xml/manual/status_cxxtr24733.xml: Likewise.
      * doc/xml/manual/strings.xml: Likewise.
      * doc/xml/manual/support.xml: Likewise.
      * doc/xml/manual/test.xml: Likewise.
      * doc/xml/manual/using_exceptions.xml: Likewise.
      * doc/xml/manual/utilities.xml: Likewise.
      * doc/xml/spine.xml: Likewise.
      
      From-SVN: r193414
      92eba400
Loading