1. 18 Oct, 2007 9 commits
    • tree-flow.h (struct gimple_df): Make referenced_vars a uid_decl_map. · 9fc5a389
      2007-10-18  Richard Guenther  <rguenther@suse.de>
      
      	* tree-flow.h (struct gimple_df): Make referenced_vars
      	a uid_decl_map.
      	(uid_decl_map_eq): Declare.
      	(uid_decl_map_hash): Likewise.
      	* tree-ssa.c (uid_decl_map_eq): New function.
      	(uid_decl_map_hash): Likewise.
      	(init_tree_ssa): Make referenced_vars a uid_decl_map.
      	* tree-flow-inline.h (first_referenced_var): Deal with
      	the referenced_vars representation change.
      	(next_referenced_var): Likewise.
      	* tree-dfa.c (referenced_var_lookup): Likewise.
      	(referenced_var_check_and_insert): Likewise.
      	(remove_referenced_var): Likewise.
      
      From-SVN: r129440
      Richard Guenther committed
    • mips.c (mips_dwarf_register_span): New. · 076a5ce6
      	* config/mips/mips.c (mips_dwarf_register_span): New.
      	(TARGET_DWARF_REGISTER_SPAN): Define.
      
      From-SVN: r129438
      Daniel Jacobowitz committed
    • re PR fortran/33233 (Parent and contained procedure: Wrongly treated as generic procedures) · a944c79a
      2007-10-18  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/33233
      	* resolve.c (check_host_association): Check singly contained
      	namespaces and start search for symbol in current namespace.
      
      2007-10-18  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/33233
      	* gfortran.dg/host_assoc_function_1.f90: Correct references.
      	* gfortran.dg/host_assoc_function_3.f90: New test.
      
      From-SVN: r129437
      Paul Thomas committed
    • re PR fortran/33733 (ICEs in simplify_transfer) · a7f638ec
      2007-10-18  Paul Thomas  <pault@gcc.gnu.org>
      	    Dominique d'Humieres  <dominiq@lps.ens.fr>
      
      	PR fortran/33733
      	* simplify.c (gfc_simplify_transfer): Return null if the source
      	expression is EXPR_FUNCTION.
      
      2007-10-18  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/33733
      	* gfortran.dg/transfer_simplify_6.f90: New test.
      
      From-SVN: r129436
      Paul Thomas committed
    • re PR fortran/33733 (ICEs in simplify_transfer) · 2dc95548
      2007-10-18  Paul Thomas  <pault@gcc.gnu.org>
      	    Dominique d'Humieres  <dominiq@lps.ens.fr>
      
      	PR fortran/33733
      	* simplify.c (gfc_simplify_transfer): Return null if the source
      	expression is EXPR_FUNCTION.
      
      2007-10-18  Paul Thomas  <pault@gcc.gnu.org>
      
      	PR fortran/33733
      	* gfortran.dg/transfer_simplify_6.f90: New test.
      
      From-SVN: r129435
      Paul Thomas committed
    • re PR libstdc++/33807 (Incorrect ambiguous overload) · 741e7594
      2007-10-18  Paolo Carlini  <pcarlini@suse.de>
      
      	PR libstdc++/33807
      	* include/bits/allocator.h (operator==(const allocator<_Tp>&,
      	const allocator<_Tp>&), operator!=(const allocator<_Tp>&,
      	const allocator<_Tp>&)): Add.
      	* testsuite/20_util/allocator/33807.cc: New.
      
      From-SVN: r129434
      Paolo Carlini committed
    • Because we merge score3 and score7 into the same backend, · 254f5222
      so make a lot of changes in the code structure.
      
      Changelog:
              * config.gcc : update score-*-elf(extra_objs).
              * config/score/mac.md : Remove.
              * config/score/misc.md : Remove.
              * config/score/score7.md : Remove.
              * config/score/score-mdaux.h : Remove.
              * config/score/score-mdaux.c : Remove.
              * config/score/score-version.h : Remove.
              * config/score/score-generic.md : New.
              * config/score/score3.h : New.
              * config/score/score3.c : New.
              * config/score/score7.h : New.
              * config/score/score7.c : New.
              * config/score/mul-div.S : add flush_cache score3 support.
              * config/score/elf.h : Fix some typos.
              * config/score/score.md : merge score3 and score7 pattern.
              * config/score/score.c : use to seperate which target it used.
              * config/score/score.h : use to seperate the target macro.
              * config/score/score.opt : remove -mmac option , add -mscore3,
              -mscore3d and -march OPTION support.
      
      From-SVN: r129431
      Chen Liqin committed
    • Remove myself from dataflow reviewers · 23710ddd
      From-SVN: r129428
      Daniel Berlin committed
    • Daily bump. · b8196120
      From-SVN: r129426
      GCC Administrator committed
  2. 17 Oct, 2007 22 commits
  3. 16 Oct, 2007 9 commits
    • re PR c++/28639 (ICE trying to print error on invalid template parameter) · 2e8cd6eb
      2007-10-16  Paolo Carlini  <pcarlini@suse.de>
      
      	PR c++/28639
      	PR c++/30299
      	* g++.dg/template/void12.C: New.
      	* g++.dg/template/void13.C: New.
      
      From-SVN: r129392
      Paolo Carlini committed
    • re PR c++/31446 (ICE with invalid template parameter) · bf98d3b6
      /cp
      2007-10-16  Paolo Carlini  <pcarlini@suse.de>
      
      	PR c++/31446
      	* pt.c (current_template_args): Do not change TREE_LIST elements
      	with a TREE_VALUE of error_mark_node.
      
      /testsuite
      2007-10-16  Paolo Carlini  <pcarlini@suse.de>
      
      	PR c++/31446
      	* g++.dg/template/void11.C: New.
      	* g++.dg/template/void2.C: Adjust error markers.
      	* g++.dg/template/void10.C: Likewise.
      	* g++.dg/template/crash55.C: Likewise.
      
      From-SVN: r129391
      Paolo Carlini committed
    • stl_queue.h (queue<>::queue(_Sequence&&), [...]): Add. · 7aa1cb97
      2007-10-16  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/bits/stl_queue.h (queue<>::queue(_Sequence&&),
      	queue<>::queue(queue&&), queue<>::operator=(queue&&),
      	queue<>::push(value_type&&), queue<>::swap(queue&&),
      	swap(queue<>&, queue<>&), swap(queue<>&&, queue<>&),
      	swap(queue<>&, queue<>&&), priority_queue<>::
      	priority_queue(const _Compare&, _Sequence&&),
      	priority_queue<>::priority_queue(_InputIterator, _InputIterator,
      	const _Compare&, _Sequence&&),
      	priority_queue<>::priority_queue(priority_queue&&),
      	priority_queue<>::operator=(priority_queue&&),
      	priority_queue<>::push(value_type&&),
      	priority_queue<>::swap(priority_queue&&),
      	swap(priority_queue<>&, priority_queue<>&),
      	swap(priority_queue<>&&, priority_queue<>&),
      	swap(priority_queue<>&, priority_queue<>&&)): Add.
      	* include/bits/stl_stack.h (stack<>::stack(_Sequence&&),
      	stack<>::push(value_type&&), stack<>::swap(stack&&),
      	swap(stack<>&, stack<>&), swap(stack<>&&, stack<>&),
      	swap(stack<>&, stack<>&&)): Add.
      	* testsuite/23_containers/queue/moveable.cc: New.
      	* testsuite/23_containers/priority_queue/moveable.cc: Likewise.
      
      From-SVN: r129390
      Paolo Carlini committed
    • avr.c (avr_mcu_types): Add at90pwm216, at90pwm316. · 2bf374ab
      	* config/avr/avr.c (avr_mcu_types): Add at90pwm216, at90pwm316.
      	* config/avr/avr.h (LINK_SPEC): Likewise and remove regex for
      	similar devices.
      	(CRT_BINUTILS_SPECS): Likewsie.
      	* config/avr/t-avr (MULTILIB_MATCHES): Likewise.
      
      From-SVN: r129389
      Eric B. Weddington committed
    • Fix typo · 76d7d4dc
      From-SVN: r129387
      Mark Mitchell committed
    • typeck.c (cp_apply_type_quals_to_decl): Expand documentation. · 15896502
      	* typeck.c (cp_apply_type_quals_to_decl): Expand documentation.
      	* decl.c (start_decl): Tidy.
      	(start_decl_1): Call cp_apply_type_quals_to_decl after completing
      	the type.
      	(grokdeclarator): Clarify comment.
      	* g++.dg/opt/const-5.C: New test.
      
      From-SVN: r129386
      Mark Mitchell committed
    • re PR target/33594 (stack arrays not aligned on word boundaries) · 9eb061d7
      	PR target/33594
      	* config/sparc/sparc.h (LOCAL_ALIGNMENT): Define.
      
      From-SVN: r129385
      Amruth Laxman committed
    • dce.c (init_dce): Only initialize the obstacks for the fast pass. · 2e6be65e
      	* dce.c (init_dce): Only initialize the obstacks for the fast pass.
      	(fini_dce): Only release them for the fast pass.
      	(end_ud_dce): Delete.
      	(rest_of_handle_ud_dce): Do not modify df_in_progress.
      	Call fini_dce instead of end_ud_dce.
      	(rest_of_handle_fast_dce): Do not modify df_in_progress.
      	(run_fast_df_dce): Reset df_in_progress to false on exit.
      
      From-SVN: r129384
      Eric Botcazou committed
    • vstring.h (__versa_string<>:: __versa_string(__versa_string&&), [...]): Add. · 053cc380
      2007-10-16  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/ext/vstring.h (__versa_string<>::
      	__versa_string(__versa_string&&),
      	__versa_string<>::operator=(__versa_string&&,
      	swap(__versa_string<>&&, __versa_string<>&),
      	swap(__versa_string<>(&, __versa_string<>&&)): Add.
      	(__versa_string<>::swap(__versa_string&&)): Adjust for C++0x.
      	* include/ext/sso_string_base.h
      	(__sso_string_base(__sso_string_base&&)): Add.
      	(__sso_string_base()): Use _Alloc_hider(_CharT*).
      	* include/ext/rc_string_base.h (__rc_string_base(__rc_string_base&&)):
      	Add.
      	(__rc_string_base()): Use _Alloc_hider(_CharT*).
      	* include/ext/vstring_util.h (_Alloc_hider::_Alloc_hider(_CharT*)):
      	Add.
      	* testsuite/ext/vstring/moveable.cc: Add.
      
      	* include/bits/stl_tree.h (_Rb_tree(_Rb_tree&&)): Add.
      	* include/bits/stl_map.h (map<>::map(map&&)): Forward to the latter.
      	* include/bits/stl_set.h (set<>::set(set&&)): Likewise.
      	* include/bits/stl_multimap.h (multimap<>::multimap(multimap&&)):
      	Likewise.
      	* include/bits/stl_multiset.h (multiset<>::multiset(multiset&&)):
      	Likewise.
      	* include/bits/stl_deque.h (_Deque_base<>::_Deque_base(_Deque_base&&)):
      	Add.
      	(deque<>::deque(deque&&)): Forward to the latter.
      	* include/bits/stl_list.h (_List_base<>::_List_base(_List_base&&)):
      	Add.
      	(list<>::list(list&&)): Forward to the latter.
      	* include/bits/stl_vector.h
      	(_Vector_base<>::_Vector_base(_Vector_base&&)): Add.
      	(vector<>::vector(vector&&)): Forward to the latter.
      	* include/bits/stl_bvector.h
      	(_Bvector_base<>::_Bvector_base(_Bvector_base&&)): Add.
      	(vector<bool>::vector(vector&&)): Forward to the latter.
      
      	* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
      	Adjust dg-error lines.
      	* 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.
      
      From-SVN: r129381
      Paolo Carlini committed