1. 01 Jun, 2011 7 commits
    • hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)): Use std::move on the allocator, use noexcept. · 6f59ea25
      2011-06-01  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/hashtable.h (_Hashtable<>::_Hashtable(_Hashtable&&)):
      	Use std::move on the allocator, use noexcept.
      	(_Hashtable<>::~_Hashtable): Use noexcept.
      	* include/bits/stl_list.h: Likewise.
      	* include/bits/forward_list.h: Likewise.
      	* include/bits/stl_vector.h: Likewise.
      	* include/bits/stl_bvector.h: Likewise.
      	* include/bits/stl_map.h (map<>::map(map&&)): Use noexcept. 
      	* include/bits/stl_set.h: Likewise.
      	* include/bits/stl_multimap.h: Likewise.
      	* include/bits/stl_multiset.h: Likewise.
      	* include/bits/stl_tree.h (_Rb_tree<>::_Rb_tree(_Rb_tree&&)): Use
      	std::move on the allocator.
      	(_Rb_tree<>::~_Rb_tree): Use noexcept.
      	* include/bits/stl_deque.h: Likewise.
      	* include/bits/basic_string.h (basic_string<>::~basic_string): Use
      	noexcept.
      	* include/ext/vstring.h (__versa_string<>::~__versa_string): Likewise.
      	* include/debug/set.h: Adjust.
      	* include/debug/unordered_map: Likewise.
      	* include/debug/multiset.h: Likewise.
      	* include/debug/forward_list: Likewise.
      	* include/debug/vector: Likewise.
      	* include/debug/unordered_set: Likewise.
      	* include/debug/deque: Likewise.
      	* include/debug/map.h: Likewise.
      	* include/debug/string: Likewise.
      	* include/debug/list: Likewise.
      	* include/debug/multimap.h: Likewise.
      	* include/profile/set.h: Likewise.
      	* include/profile/unordered_map: Likewise.
      	* include/profile/multiset.h: Likewise.
      	* include/profile/forward_list: Likewise.
      	* include/profile/unordered_set: Likewise.
      	* include/profile/vector: Likewise.
      	* include/profile/deque: Likewise.
      	* include/profile/map.h: Likewise.
      	* include/profile/list: Likewise.
      	* include/profile/multimap.h: Likewise.
      	* testsuite/21_strings/basic_string/cons/wchar_t/
      	noexcept_move_construct.cc: New.
      	* testsuite/21_strings/basic_string/cons/char/
      	noexcept_move_construct.cc: Likewise.
      	* testsuite/ext/vstring/cons/noexcept_move_construct.cc: Likewise.
      	* testsuite/23_containers/unordered_map/cons/
      	noexcept_move_construct.cc: Likewise.
      	* testsuite/23_containers/multimap/cons/
      	noexcept_move_construct.cc: Likewise.
      	* testsuite/23_containers/set/cons/
      	noexcept_move_construct.cc: Likewise.
      	* testsuite/23_containers/unordered_multimap/cons/
      	noexcept_move_construct.cc: Likewise.
      	* testsuite/23_containers/forward_list/cons/
      	noexcept_move_construct.cc: Likewise.
      	* testsuite/23_containers/unordered_set/cons/
      	noexcept_move_construct.cc: Likewise.
      	* testsuite/23_containers/vector/bool/cons/
      	noexcept_move_construct.cc: Likewise.
      	* testsuite/23_containers/vector/cons/
      	noexcept_move_construct.cc: Likewise.
      	* testsuite/23_containers/multiset/cons/
      	noexcept_move_construct.cc: Likewise.
      	* testsuite/23_containers/list/cons/
      	noexcept_move_construct.cc: Likewise.
      	* testsuite/23_containers/unordered_multiset/cons/
      	noexcept_move_construct.cc: Likewise.
      	* testsuite/23_containers/map/cons/noexcept_move_construct.cc
      	* testsuite/23_containers/forward_list/requirements/dr438/
      	assign_neg.cc: Adjust dg-error line numbers.
      	* testsuite/23_containers/forward_list/requirements/dr438/
      	insert_neg.cc: Likewise.
      	* testsuite/23_containers/forward_list/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/forward_list/requirements/dr438/
      	constructor_2_neg.cc: Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/
      	assign_neg.cc: Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/
      	insert_neg.cc: Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/vector/requirements/dr438/
      	constructor_2_neg.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/
      	assign_neg.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/
      	insert_neg.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/deque/requirements/dr438/
      	constructor_2_neg.cc: Likewise.
      	* testsuite/23_containers/list/requirements/dr438/
      	assign_neg.cc: Likewise.
      	* testsuite/23_containers/list/requirements/dr438/
      	insert_neg.cc: Likewise.
      	* testsuite/23_containers/list/requirements/dr438/
      	constructor_1_neg.cc: Likewise.
      	* testsuite/23_containers/list/requirements/dr438/
      	constructor_2_neg.cc: Likewise.
      
      	* include/bits/move.h (swap): Use __and_ in the noexcept.
      	* include/bits/algorithmfwd.h: Adjust.
      
      From-SVN: r174525
      Paolo Carlini committed
    • ipa-utils.c (ipa_dfs_info): New field scc_no. · 11026b51
      2011-06-01  Martin Jambor  <mjambor@suse.cz>
      
      	* ipa-utils.c (ipa_dfs_info): New field scc_no.
      	* ipa-utils.c (searchc): Set scc_no.
      
      From-SVN: r174524
      Martin Jambor committed
    • ipa-utils.c (searchc_env): New field allow_overwritable. · b6156cf2
      2011-06-01  Martin Jambor  <mjambor@suse.cz>
      
      	* ipa-utils.c (searchc_env): New field allow_overwritable.
      	(searchc): do not ignore edges to overwritable nodes if indicated
      	by env->allow_overwritable.
      	(ipa_reduced_postorder): Set env.allow_overwritable.
      
      From-SVN: r174523
      Martin Jambor committed
    • * MAINTAINERS: Update my email address. · 6c059f76
      From-SVN: r174521
      Daniel Jacobowitz committed
    • In gcc/objc/: 2011-06-01 Nicola Pero <nicola.pero@meta-innovation.com> · 98ab0248
      In gcc/objc/:
      2011-06-01  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* objc-act.c (objc_decl_method_attributes): Implement nonnull
      	attribute for Objective-C methods.
      
      In gcc/testsuite/:
      2011-06-01  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* objc.dg/attributes/method-nonnull-1.m: New test.
      	* obj-c++.dg/attributes/method-nonnull-1.mm: New test.
      
      From-SVN: r174520
      Nicola Pero committed
    • tree.c (free_lang_data): Do not reset boolean_type_node nor char_type_node. · 6807da97
      2011-06-01  Richard Guenther  <rguenther@suse.de>
      
      	* tree.c (free_lang_data): Do not reset boolean_type_node nor
      	char_type_node.
      	* lto-streamer.c (lto_record_common_node): Take node pointer,
      	do not register types.
      	(lto_preload_common_nodes): Explicitly skip preloading nodes
      	that differ between frontends.
      
      	lto/
      	* lto-lang.c (lto_register_canonical_types): New function.
      	(lto_init): Register common nodes with the canonical type machinery.
      	Do not play tricks with char_type_node.
      
      From-SVN: r174519
      Richard Guenther committed
    • Daily bump. · 3dca2ab7
      From-SVN: r174518
      GCC Administrator committed
  2. 31 May, 2011 33 commits