1. 11 Dec, 2009 3 commits
  2. 10 Dec, 2009 20 commits
    • * es.po: Update. · 5edddef6
      From-SVN: r155145
      Joseph Myers committed
    • s-linux-sparc.ads: New file. · 0cf1a41a
      	* s-linux-sparc.ads: New file.
      	* gcc-interface/Makefile.in (SPARC/Linux): Use it.
      
      From-SVN: r155144
      Eric Botcazou committed
    • re PR c++/42317 (Issues with comdat virtual dtors) · b66887e4
      	PR c++/42317
      	* cgraph.h (struct cgraph_node): Add same_comdat_group field.
      	* cgraph.c (cgraph_remove_node): Unchain node from same_comdat_group
      	circular list.
      	(cgraph_node_can_be_local_p): Return false for DECL_COMDAT with
      	node->same_comdat_group.
      	* ipa.c (cgraph_remove_unreachable_nodes): For any reachable node
      	mark all its same_comdat_group nodes as also reachable.
      	(cgraph_externally_visible_p): Return true even if any of
      	same_comdat_group nodes has address taken.
      	* lto-cgraph.c (lto_output_node): Stream out same_comdat_group.
      	(output_cgraph): Ensure other same_comdat_group nodes are also
      	included.
      	(input_node): Stream in same_comdat_group.
      	(input_cgraph_1): Fix up same_comdat_group fields from references
      	to pointers.
      	* cgraphunit.c (cgraph_analyze_functions): Mark all other
      	same_comdat_group nodes as reachable.
      	(cgraph_mark_functions_to_output): For each node->process process
      	also other same_comdat_group nodes.
      	* ipa-inline.c (cgraph_clone_inlined_nodes): Don't reuse nodes
      	with same_comdat_group non-NULL.
      	(cgraph_mark_inline_edge): Likewise.
      
      	* decl2.c (cp_write_global_declarations): Clear DECL_EXTERNAL
      	also on all other functions in the same comdat group.
      	* optimize.c (maybe_clone_body): Also optimize virtual implicit
      	dtors.  For virtual comdat dtors tell cgraph that base and deleting
      	dtor are in the same comdat group.
      
      	* config/abi/pre/gnu.ver: Don't export certain base dtors that
      	weren't previously exported.
      
      	* g++.dg/opt/dtor2.C: New test.
      	* g++.dg/opt/dtor2.h: New file.
      	* g++.dg/opt/dtor2-aux.cc: New file.
      
      From-SVN: r155143
      Jakub Jelinek committed
    • re PR fortran/40287 (Spurious warnings with -Wconversion and COUNT()) · 63bcb71f
      2009-12-10  Daniel Franke  <franke.daniel@gmail.com>
      
              PR fortran/40287
              * iresolve.c (resolve_mask_arg): Disabled warning on conversion
              to LOGICAL(1).
      
      From-SVN: r155142
      Daniel Franke committed
    • re PR fortran/41369 (Empty derived-type wrongly rejected as function return type) · b94e5176
      2009-12-10  Daniel Franke  <franke.daniel@gmail.com>
      
      	PR fortran/41369
      	* parse.c (match_deferred_characteristics): Removed check for empty
      	types in function return values.
      
      2009-12-10  Daniel Franke  <franke.daniel@gmail.com>
      
      	PR fortran/41369
      	* gfortran.dg/func_derived_5.f90: New.
      
      From-SVN: r155141
      Daniel Franke committed
    • re PR middle-end/42228 (verify_cgraph_node failed:node has wrong clone_of) · 47cb0d7d
      
      	PR middle-end/42228
      	PR middle-end/42110
      	* cgraph.c (cgraph_create_edge_including_clones): Add old_stmt parameter;
      	update edge if it already exists.
      	(cgraph_remove_node): Handle correctly cases where we are removing node having
      	clones.
      	* cgraph.h (cgraph_create_edge_including_clones): Declare.
      	(verify_cgraph_node): Add missing error_found = true code.
      	(cgraph_materialize_all_clones): Remove call edges of dead nodes.
      	* ipa.c (cgraph_remove_unreachable_nodes): Correctly look for master
      	clone; fix double linked list removal.
      	* tree-inline.c (copy_bb): Update cgraph_create_edge_including_clones call;
      	fix frequency of newly created edge.
      
      	* g++.dg/torture/pr42110.C: new file.
      
      From-SVN: r155140
      Jan Hubicka committed
    • re PR fortran/34402 (Diagnose illegal initialization of derived type containing… · 604df116
      re PR fortran/34402 (Diagnose illegal initialization of derived type containing allocatable component)
      
      gcc/fortran/:
      2009-12-10  Daniel Franke  <franke.daniel@gmail.com>
      
              PR fortran/34402
              * expr.c (check_alloc_comp_init): New.
              (check_init_expr): Verify that allocatable components
              are not data-initalized.
      
      gcc/testsuite/:
      2009-12-10  Daniel Franke  <franke.daniel@gmail.com>
      
              PR fortran/34402
              * gfortran.dg/alloc_comp_init_expr.f03: New.
      
      From-SVN: r155138
      Daniel Franke committed
    • PR libstdc++/42261 (take 2) · df4d18ad
      2009-12-10  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/42261 (take 2)
      	* include/bits/basic_string.h (_S_construct_aux_2(size_type, _CharT,
      	const _Alloc&)): Add.
      	(_S_construct_aux(_Integer, _Integer, const _Alloc&, __true_type)):
      	Call it.
      	* include/ext/sso_string_base.h (_M_construct_aux_2(size_type,
      	_CharT): Add.
      	(_M_construct_aux(_Integer, _Integer, std::__true_type)): Call it.
      	* include/ext/rc_string_base.h (_S_construct_aux_2(size_type, _CharT,
      	const _Alloc&)): Add.
      	(_S_construct_aux(_Integer, _Integer, const _Alloc&, __true_type)):
      	Call it.
      	* config/abi/pre/gnu.ver: Export basic_string::_S_construct_aux_2.
      	* testsuite/21_strings/basic_string/cons/char/42261.cc: New.
      	* testsuite/21_strings/basic_string/cons/wchar_t/42261.cc: Likewise.
      
      From-SVN: r155137
      Paolo Carlini committed
    • re PR rtl-optimization/42216 (changes in scheduling regress 464.h264ref 20%) · d435810e
      	PR rtl-opt/42216
      	* regrename.c: Error out if MAX_RECOG_OPERANDS is larger than
      	HOST_BITS_PER_WIDE_INT.
      	(verify_reg_in_set): New function, broken out of verify_reg_tracked.
      	(verify_reg_tracked): Use it.
      	(scan_rtx_reg): When seeing a use involving a superset of the
      	registers in an existing chain, enlarge that chain.  Otherwise,
      	allow subsets and set fail_current_block for all other kinds of
      	overlap.
      	(hide_operands): New argument UNTRACKED_OPERANDS; callers changed.
      	Do not modify operands when the bit with the corresponding number
      	is set in that bitmap.
      	(build_def_use): When we see matching operands with different
      	modes, don't set fail_current_block, but keep track of such
      	operands in a bitmap if their registers aren't already tracked
      	in an open chain.  Pass this bitmap to all hide_operands calls.
      
      From-SVN: r155134
      Bernd Schmidt committed
    • revert: re PR libstdc++/42261 (infinite recursion from… · 574f3664
      revert: re PR libstdc++/42261 (infinite recursion from string(string::size_type(6), string::size_type('f')))
      
      2009-12-10  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	Revert:
              2009-12-03  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/42261
      	* include/bits/basic_string.h (_S_construct_aux(_Integer, _Integer,
      	const _Alloc&, __true_type)): Cast the second argument to value_type.
      	* include/ext/sso_string_base.h (_M_construct_aux(_Integer, _Integer,
      	std::__true_type)): Likewise.
      	* include/ext/rc_string_base.h (_S_construct_aux(_Integer, _Integer,
      	const _Alloc&, std::__true_type)): Likewise.
      	* testsuite/21_strings/basic_string/cons/char/42261.cc: New.
      	* testsuite/21_strings/basic_string/cons/wchar_t/42261.cc: Likewise.
      
      From-SVN: r155132
      Paolo Carlini committed
    • re PR tree-optimization/42337 (GCC ICE in compute_antic, at tree-ssa-pre.c:2534) · 788d04b2
      2009-12-10  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/42337
      	* tree-ssa-pre.c (seen_during_translate): Remove.
      	(phi_translate_1): Collapse into ...
      	(phi_translate): ... this.  Remove seen parameter and
      	adjust recursive calls.
      
      From-SVN: r155131
      Richard Guenther committed
    • bswap64-4.c: Disable on AIX. · 749140af
              * gcc.target/powerpc/bswap64-4.c: Disable on AIX.
              * gcc.target/powerpc/ppc64-double-1.c: Disable on AIX.
      
      From-SVN: r155129
      David Edelsohn committed
    • tree-vectorizer.c (vectorize_loops): Properly guard vectorizer verboseness. · b614f27d
      2009-12-10  Richard Guenther  <rguenther@suse.de>
      	Allan Sandfeld Jensen  <linux@carewolf.com>
      
      	* tree-vectorizer.c (vectorize_loops): Properly guard
      	vectorizer verboseness.
      
      Co-Authored-By: Allan Sandfeld Jensen <linux@carewolf.com>
      
      From-SVN: r155128
      Richard Guenther committed
    • testsuite_containers.h (populate<>::populate(_Tp&)): Avoid used uninitialized warning. · 790ad3b5
      2009-12-10  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* testsuite/util/testsuite_containers.h (populate<>::populate(_Tp&)):
      	Avoid used uninitialized warning. 
      	* include/ext/pb_ds/detail/cc_hash_table_map_/
      	constructor_destructor_fn_imps.hpp: Fix typo causing sequence point
      	warning.
      
      From-SVN: r155127
      Paolo Carlini committed
    • zh_CN.po: Update. · 58b9c1de
      gcc/po:
      	* zh_CN.po: Update.
      
      libcpp/po:
      	* zh_CN.po: Update.
      
      From-SVN: r155126
      Joseph Myers committed
    • * fwprop.c (free_load_extend): Initialise `use'. · 8bba68cd
      From-SVN: r155125
      Ben Elliston committed
    • re PR libffi/40700 (All amd64 libffi execution tests fail on Solaris 10/x86) · dcb00f2e
      	PR libffi/40700
      	* src/closures.c [X86_64 && __sun__ && __svr4__]
      	(FFI_MMAP_EXEC_WRIT): Define.
      
      From-SVN: r155124
      Rainer Orth committed
    • profiler_container_size.h: Fix include guard, formatting fixes. · 6b223191
      2009-12-09  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/profile/impl/profiler_container_size.h: Fix include
      	guard, formatting fixes.
      	* include/profile/impl/profiler_vector_size.h: Same.
      	* include/profile/impl/profiler_hash_func.h: Same.
      	* include/profile/impl/profiler_trace.h: Same.
      	* include/profile/impl/profiler_vector_to_list.h: Same.
      	* include/profile/impl/profiler.h: Same.
      	* include/profile/impl/profiler_state.h: Same.
      	* include/profile/impl/profiler_map_to_unordered_map.h: Same.
      	* include/profile/impl/profiler_hashtable_size.h: Same.
      	* include/profile/impl/profiler_node.h: Same.
      
      From-SVN: r155123
      Benjamin Kosnik committed
    • builtins.c (do_mpc_ckconv): Pass the component type to real_from_mpfr(). · 14aa6352
      	* builtins.c (do_mpc_ckconv): Pass the component type to
      	real_from_mpfr().
      
      From-SVN: r155122
      David Edelsohn committed
    • Daily bump. · 2bfaa3d8
      From-SVN: r155121
      GCC Administrator committed
  3. 09 Dec, 2009 9 commits
  4. 08 Dec, 2009 8 commits