1. 11 Jan, 2010 7 commits
  2. 10 Jan, 2010 12 commits
  3. 09 Jan, 2010 21 commits
    • re PR ada/42626 (gcc-interface/Makefile.in has missing quote) · 4250055c
      	PR ada/42626
      	* gcc-interface/Makefile.in (gnatlib-shared-darwin): Add missing
      	end-quote.
      
      From-SVN: r155780
      Simon Wright committed
    • re PR ada/42626 (gcc-interface/Makefile.in has missing quote) · f5e3965f
      	PR ada/42626
      	* Makefile.in (gnatlib-shared-darwin): Add missing end-quote.
      
      From-SVN: r155779
      Simon Wright committed
    • Fix ChangeLog entry. · 6a73fcec
      From-SVN: r155774
      Jerry DeLisle committed
    • re PR fortran/32489 (Endless loop when compiling - middle-end?) · 7a2631f3
      2010-01-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
      
      	PR fortran/32489
      	* gfortran.dg/array_constructor_33.f90: New test.
      
      	PR fortran/20923
      	Fix ChangeLog entry.
      
      From-SVN: r155773
      Jerry DeLisle committed
    • re PR fortran/32489 (Endless loop when compiling - middle-end?) · d5a8d704
      2010-01-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
      
      	PR fortran/32489
      	* gfortran.dg/array_constructor_33.f90: New test.
      	gfortran.dg/array_function_5.f90: Add credit.
      
      From-SVN: r155772
      Jerry DeLisle committed
    • re PR ada/42659 (gnatmake thinks libraries aren't supported) · f5fcb67a
      	PR ada/42659
      	* configure.ac (powerpc|*86-*-darwin*): Extend to *-*-darwin*.
      	* configure: Regenerate.
      
      From-SVN: r155771
      Simon Wright committed
    • rs6000.c (rs6000_emit_set_long_const): Shorten sequence for DImode constants >=… · 7234a615
      rs6000.c (rs6000_emit_set_long_const): Shorten sequence for DImode constants >= 0x80000000UL <= 0xFFFFFFFFUL by 1 insn.
      
      	* config/rs6000/rs6000.c (rs6000_emit_set_long_const): Shorten
      	sequence for DImode constants >= 0x80000000UL <= 0xFFFFFFFFUL by
      	1 insn.
      	(num_insns_constant_wide): Adjust for that change.
      
      From-SVN: r155770
      Jakub Jelinek committed
    • re PR fortran/20923 (gfortran slow for large array constructors) · f2ff577a
      2010-01-09 Jerry DeLisle <jvdelisle@gcc.gnu.org>
      
      	PR fortran/20923
      	PR fortran/32489
      	* trans-array.c (gfc_conv_array_initializer): Change call to
      	gfc_error_now to call to gfc_fatal_error.
      	* array.c (count_elements): Whitespace. (extract_element): Whitespace.
      	(is_constant_element): Changed name from constant_element.
      	(gfc_constant_ac): Only use expand_construuctor for expression
      	types of EXPR_ARRAY.  If expression type is EXPR_CONSTANT, no need to
      	call gfc_is_constant_expr.
      	* expr.c (gfc_reduce_init_expr): Adjust conditionals and delete error
      	message.
      	* resolve.c (gfc_is_expandable_expr): New function that determiners if
      	array expressions should have their constructors expanded.
      	(gfc_resolve_expr): Use new function to determine whether or not to call
      	gfc_expand_constructor.
      
      From-SVN: r155769
      Jerry DeLisle committed
    • Update copyright notices of my recent commits. · 7c028163
      From-SVN: r155766
      Alexandre Oliva committed
    • re PR rtl-optimization/42631 ("-fcompare-debug failure" with "-O1 -funroll-loops") · 994ae26c
      gcc/ChangeLog:
      PR debug/42631
      * web.c (union_defs): Add used argument, to combine uses of
      uninitialized regs.
      (entry_register): Adjust type and tests of used argument.
      (web_main): Widen used for new use.  Pass it to union_defs.
      * df.h (union_defs): Adjust prototype.
      gcc/testsuite/ChangeLog:
      PR debug/42631
      * gcc.dg/pr42631.c: New.
      
      From-SVN: r155765
      Alexandre Oliva committed
    • re PR debug/42630 ("-fcompare-debug failure (length)" with "-O1… · 60c48e4c
      re PR debug/42630 ("-fcompare-debug failure (length)" with "-O1 -fvariable-expansion-in-unroller -funroll-loops")
      
      gcc/ChangeLog:
      PR debug/42630
      * loop-unroll.c (referenced_in_one_insn_in_loop_p): Count debug
      uses in new incoming argument.  Free body.
      (reset_debug_uses_in_loop): New.
      (analyze_insn_to_expand_var): Call the latter if the former found
      anything.  Fix whitespace.  Reject invalid dest overlaps before
      going through all insns in the loop.
      gcc/testsuite/ChangeLog:
      PR debug/42630
      * gcc.dg/pr42630.c: New.
      
      From-SVN: r155764
      Alexandre Oliva committed
    • re PR debug/42629 ("-fcompare-debug failure (length)" with "-O1 -fsched-pressure -fschedule-insns") · bb956f3e
      gcc/ChangeLog:
      PR debug/42629
      * haifa-sched.c (dying_use_p): Debug insns don't count.
      gcc/testsuite/ChangeLog:
      PR debug/42629
      * gcc.dg/pr42629.c: New.
      
      From-SVN: r155763
      Alexandre Oliva committed
    • re PR middle-end/42363 (ICE: verify_flow_info failed for gcc.c-torture/compile/pr37913.c -O1 -g) · 5de8da9b
      gcc/ChangeLog:
      PR middle-end/42363
      * gimplify.c (gimplify_modify_expr): Drop lhs on noreturn calls.
      * tree-cfg.c (is_ctrl_altering_stmt): Don't compute flags twice.
      (verify_gimple_call): Reject LHS in noreturn calls.
      gcc/testsuite/ChangeLog:
      PR middle-end/42363
      * gcc.dg/torture/pr42363.c: New.
      
      From-SVN: r155762
      Alexandre Oliva committed
    • re PR debug/42604 (VTA ICE in the vectorizer) · 684f25f4
      gcc/ChangeLog:
      PR debug/42604
      PR debug/42395
      * tree-vect-loop-manip.c (adjust_info): New type.
      (adjust_vec): New pointer to vector.
      (adjust_debug_stmts_now, adjust_vec_debug_stmts): New.
      (adjust_debug_stmts, adjust_phi_and_debug_stmts): New.
      (slpeel_update_phis_for_duplicate_loop): Use them.
      (slpeel_update_phi_nodes_for_guard1): Likewise.
      (slpeel_update_phi_nodes_for_guard2): Likewise.
      (slpeel_tree_peel_loop_to_edge): Likewise.
      (vect_update_ivs_after_vectorizer): Likewise.
      gcc/testsuite/ChangeLog:
      PR debug/42604
      PR debug/42395
      * gcc.dg/vect/pr42604.c: New.
      * gcc.dg/vect/pr42395.c: New.
      
      From-SVN: r155761
      Alexandre Oliva committed
    • vec.h (DEF_VEC_ALLOC_FUNC_O_STACK): Drop excess paren. · 0e00563c
      * vec.h (DEF_VEC_ALLOC_FUNC_O_STACK): Drop excess paren.
      (DEF_VEC_ALLOC_FUNC_I_STACK): Likewise.
      
      From-SVN: r155760
      Alexandre Oliva committed
    • i386.c (ix86_vectorize_builtin_vec_perm): Silence bogus uninitialized warning. · 0ce659eb
      * config/i386/i386.c (ix86_vectorize_builtin_vec_perm): Silence
      bogus uninitialized warning.
      
      From-SVN: r155759
      Alexandre Oliva committed
    • * nl.po: Update. · cd792a94
      From-SVN: r155758
      Joseph Myers committed
    • re PR middle-end/42512 (integer wrong code bug with loop) · 73c865fa
      2010-01-09  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/42512
      	* tree-scalar-evolution.c (interpret_loop_phi): Make sure
      	the evolution is compatible with the initial condition.
      
      	* gcc.c-torture/execute/pr42512.c: New testcase.
      
      From-SVN: r155757
      Richard Guenther committed
    • set.h: Revert last change, per DR 1204 [Ready]; mention the latter in comment. · 0462fd5e
      2010-01-09  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/debug/set.h: Revert last change, per DR 1204 [Ready];
      	mention the latter in comment.
      	* include/debug/unordered_map: Likewise.
       	* include/debug/multiset.h: Likewise.
       	* include/debug/vector: Likewise.
      	* include/debug/unordered_set: Likewise.
      	* include/debug/deque: Likewise.
      	* include/debug/map.h: Likewise.
      	* include/debug/list: Likewise.
      	* include/debug/multimap.h: Likewise.
      	* include/tr1_impl/unordered_map: Likewise.
      	* include/tr1_impl/unordered_set: Likewise.
      	* include/profile/set.h: Likewise.
      	* include/profile/unordered_map: Likewise.
      	* include/profile/multiset.h: 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.
      	* include/ext/vstring.h: Likewise.
      	* include/bits/stl_list.h: Likewise.
      	* include/bits/stl_map.h: Likewise.
      	* include/bits/stl_set.h: Likewise.
      	* include/bits/stl_multimap.h: Likewise.
      	* include/bits/stl_vector.h: Likewise.
      	* include/bits/stl_deque.h: Likewise.
      	* include/bits/stl_multiset.h: Likewise.
      
      	* include/bits/forward_list.h: Remove pre-existing check.
      	* include/ext/vstring.h: Likewise.
      
      	* testsuite/ext/vstring/cons/self_move_assign.cc: Remove.
      	* testsuite/23_containers/unordered_map/cons/self_move_assign.cc:
      	Likewise.
      	* testsuite/23_containers/multimap/cons/self_move_assign.cc: Likewise.
      	* testsuite/23_containers/set/cons/self_move_assign.cc: Likewise.
      	* testsuite/23_containers/unordered_multimap/cons/
      	self_move_assign.cc: Likewise.
      	* testsuite/23_containers/forward_list/cons/self_move_assign.cc:
      	Likewise.
      	* testsuite/23_containers/unordered_set/cons/self_move_assign.cc:
      	Likewise.
       	* testsuite/23_containers/vector/cons/self_move_assign.cc: Likewise.
      	* testsuite/23_containers/deque/cons/self_move_assign.cc: Likewise.
      	* testsuite/23_containers/multiset/cons/self_move_assign.cc: Likewise.
      	* testsuite/23_containers/list/cons/self_move_assign.cc: Likewise.
      	* testsuite/23_containers/unordered_multiset/cons/
      	self_move_assign.cc: Likewise.
      	* testsuite/23_containers/map/cons/self_move_assign.cc: Likewise.
      
      	* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
      	Adjust dg-error line numbers.
       	* 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/forward_list/requirements/dr438/
      	assign_neg.cc: Likewise.
      	* 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/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: r155756
      Paolo Carlini committed
    • [multiple changes] · 3d876aba
      2010-01-09  Tobias Burnus  <burnus@net-b.de>                                      
      
              PR fortran/41298
              * trans-expr.c (gfc_trans_structure_assign): Handle
              c_null_(fun)ptr.
              * symbol.c (gen_special_c_interop_ptr): Add NULL_EXPR
              to the constructor for c_null_(fun)ptr.
              * resolve.c (resolve_structure_cons): Add special case
              for c_null_(fun)ptr.
      
      2010-01-09  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/41298
              * gfortran.dg/c_ptr_tests_14.f90: New test.
      
      From-SVN: r155755
      Tobias Burnus committed
    • set.h: Protect move assignment operator vs self assignment. · 6b592ab3
      2010-01-08  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/debug/set.h: Protect move assignment operator vs self
      	assignment.
      	* include/debug/unordered_map: Likewise.
       	* include/debug/multiset.h: Likewise.
       	* include/debug/vector: Likewise.
      	* include/debug/unordered_set: Likewise.
      	* include/debug/deque: Likewise.
      	* include/debug/map.h: Likewise.
      	* include/debug/list: Likewise.
      	* include/debug/multimap.h: Likewise.
      	* include/tr1_impl/unordered_map: Likewise.
      	* include/tr1_impl/unordered_set: Likewise.
      	* include/profile/set.h: Likewise.
      	* include/profile/unordered_map: Likewise.
      	* include/profile/multiset.h: 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.
      	* include/ext/vstring.h: Likewise.
      	* include/bits/stl_list.h: Likewise.
      	* include/bits/stl_map.h: Likewise.
      	* include/bits/stl_set.h: Likewise.
      	* include/bits/stl_multimap.h: Likewise.
      	* include/bits/stl_vector.h: Likewise.
      	* include/bits/stl_deque.h: Likewise.
      	* include/bits/stl_multiset.h: Likewise.
      	* include/ext/vstring.h: Use clear(). 
      	* testsuite/ext/vstring/cons/self_move_assign.cc: New.
      	* testsuite/23_containers/unordered_map/cons/self_move_assign.cc:
      	Likewise.
      	* testsuite/23_containers/multimap/cons/self_move_assign.cc: Likewise.
      	* testsuite/23_containers/set/cons/self_move_assign.cc: Likewise.
      	* testsuite/23_containers/unordered_multimap/cons/
      	self_move_assign.cc: Likewise.
      	* testsuite/23_containers/forward_list/cons/self_move_assign.cc:
      	Likewise.
      	* testsuite/23_containers/unordered_set/cons/self_move_assign.cc:
      	Likewise.
       	* testsuite/23_containers/vector/cons/self_move_assign.cc: Likewise.
      	* testsuite/23_containers/deque/cons/self_move_assign.cc: Likewise.
      	* testsuite/23_containers/multiset/cons/self_move_assign.cc: Likewise.
      	* testsuite/23_containers/list/cons/self_move_assign.cc: Likewise.
      	* testsuite/23_containers/unordered_multiset/cons/
      	self_move_assign.cc: Likewise.
      	* testsuite/23_containers/map/cons/self_move_assign.cc: Likewise.
      
      	* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc:
      	Adjust dg-error line numbers.
       	* 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.
      
      	* testsuite/ext/vstring/moveable.cc: Move to...
      	* testsuite/ext/vstring/cons/moveable.cc: ... here.
      	* testsuite/23_containers/unordered_map/moveable.cc: Move to...
      	* testsuite/23_containers/unordered_map/cons/moveable.cc ... here.
      	* testsuite/23_containers/multimap/moveable.cc: Move to...
      	* testsuite/23_containers/multimap/cons/moveable.cc: ... here.
      	* testsuite/23_containers/set/moveable.cc: Move to...
      	* testsuite/23_containers/set/cons/moveable.cc: ... here.
      	* testsuite/23_containers/unordered_multimap/moveable.cc: Move to...
      	* testsuite/23_containers/unordered_multimap/cons/moveable.cc:
      	... here.
      	* testsuite/23_containers/forward_list/moveable.cc: Move to...
      	* testsuite/23_containers/forward_list/cons/moveable.cc: ... here.
      	* testsuite/23_containers/unordered_set/moveable.cc Move to...
      	* testsuite/23_containers/unordered_set/moveable.cc: ... here.
      	* testsuite/23_containers/vector/cons/moveable.cc Move to...
      	* testsuite/23_containers/vector/cons/moveable2.cc: ... this.
      	* testsuite/23_containers/deque/cons/moveable.cc Move to...
      	* testsuite/23_containers/deque/cons/moveable2.cc: ... this.
      	* testsuite/23_containers/multiset/moveable.cc Move to...
      	* testsuite/23_containers/multiset/cons/moveable.cc: ... here.
      	* testsuite/23_containers/list/moveable.h Move to...
      	* testsuite/23_containers/list/cons/moveable.h: ... here.
      	* testsuite/23_containers/list/moveable.cc Move to...
      	* testsuite/23_containers/list/cons/moveable.cc: ... here.
      	* testsuite/23_containers/unordered_multiset/moveable.cc Move to...
      	* testsuite/23_containers/unordered_multiset/cons/moveable.cc:
      	... here.
      	* testsuite/23_containers/map/moveable.cc Move to...
      	* testsuite/23_containers/map/cons/moveable.cc: ... here.
      	* testsuite/23_containers/vector/moveable.cc: Move to...
      	* testsuite/23_containers/vector/cons/moveable.cc: ... here.
      	* testsuite/23_containers/deque/moveable.cc: Move to...
      	* testsuite/23_containers/deque/cons/moveable.cc: ... here.
      
      From-SVN: r155754
      Paolo Carlini committed