1. 05 Mar, 2010 3 commits
    • gnat.exp (gnat_init): Remove GNAT_UNDER_TEST_ORIG. · 576e4d82
      	* lib/gnat.exp (gnat_init): Remove GNAT_UNDER_TEST_ORIG.
      	(gnat_target_compile): Likewise.
      	Reinitialize GNAT_UNDER_TEST if target changes.
      	Set ADA_INCLUDE_PATH, ADA_OBJECTS_PATH in environment.
      	(local_find_gnatmake): Pass full --GCC to gnatlink.
      	Remove --LINK.
      
      From-SVN: r157240
      Rainer Orth committed
    • testsuite_container_traits.h (traits_base): Add has_throwing_erase trait. · 714902c8
      2010-03-04  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/util/testsuite_container_traits.h (traits_base): Add
      	has_throwing_erase trait.
      	(traits<vector>, traits<deque>): Typedef the latter to true_type.
      	* testsuite/util/exception/safety.h (generation_prohibited):
      	Do not test vector::erase and deque::erase: can throw if
      	either copy constructor or assignment operator of value_type
      	throws.
      	* testsuite/23_containers/vector/requirements/exception/
      	generation_prohibited.cc: Remove xfail.
      	* testsuite/23_containers/deque/requirements/exception/
      	generation_prohibited.cc: Likewise.
      
      	* include/ext/throw_allocator.h (hash<__gnu_cxx::throw_value_limit>::
      	operator(), hash<__gnu_cxx::throw_value_random>::operator()): Pass
      	argument by const ref.
      
      	* testsuite/util/testsuite_container_traits.h (traits<map>,
      	traits<multimap>, traits<set>, traits<multiset>,
      	traits<unordered_map>, traits<unordered_multimap>,
      	traits<unordered_set>, traits<unordered_multiset>): Typedef
      	consistently has_erase and has_insert as true_type.
      
      	* testsuite/util/testsuite_container_traits.h
      	(traits<unordered_map>, traits<unordered_multimap>,
      	traits<unordered_set>, traits<unordered_multiset>): Do not wrongly
      	typedef has_size_type_constructor as true_type: the constructor
      	accepting a size_type actually gets the initial number of
      	buckets.
      
      From-SVN: r157239
      Paolo Carlini committed
    • Daily bump. · 630e6f1b
      From-SVN: r157236
      GCC Administrator committed
  2. 04 Mar, 2010 12 commits
  3. 03 Mar, 2010 22 commits
  4. 02 Mar, 2010 3 commits
    • config.gcc (sparc-*-linux*): Do not include sparc/gas.h. · d1ced155
      	* config.gcc (sparc-*-linux*): Do not include sparc/gas.h.
      	(sparc64-*-linux*): Likewise.
      	(sparc64-*-solaris2*): Include assembler files before linker ones.
      	(sparc-*-solaris2*): Simplify and reorder to match previous case.
      	* config/sparc/gas.h: Delete.
      	* config/sparc/sol2-64.h: Add copyright notice.
      	* config/sparc/sol2-gas-bi.h: Likewise.
      	* config/sparc/sol2-gld.h: Likewise.
      	* config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Delete.
      	* config/sparc/sol2.h (TARGET_ASM_NAMED_SECTION): Redefine.
      	* config/sparc/sol2-gas.h (TARGET_ASM_NAMED_SECTION): Likewise.
      	* config/sparc/sparc.c (TARGET_ASM_ALIGNED_SI_OP): Never redefine.
      	(sparc_elf_asm_named_section): Rename into...
      	(sparc_solaris_elf_asm_named_section): ...this.  Always define.
      
      From-SVN: r157181
      Eric Botcazou committed
    • mutex (lock_guard::lock_guard): Do not lock mutex when adopt_lock_t constructor is used. · ac498356
      2010-03-02  Jonathan Wakely  <jwakely.gcc@gmail.com>
      
      	* include/std/mutex (lock_guard::lock_guard): Do not lock mutex when
      	adopt_lock_t constructor is used.
      	* testsuite/30_threads/lock_guard/cons/1.cc: New.
      
      From-SVN: r157180
      Jonathan Wakely committed
    • stl_bvector.h (hash<vector<bool, [...]): Move definition... · 63ad1502
      2010-03-02  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/stl_bvector.h (hash<vector<bool, _Alloc>>::
      	operator()(const vector<bool, _Alloc>&)): Move definition...
      	* include/bits/vector.tcc: ... here.
      
      From-SVN: r157179
      Paolo Carlini committed