1. 21 Jun, 2011 3 commits
  2. 20 Jun, 2011 22 commits
  3. 19 Jun, 2011 2 commits
  4. 18 Jun, 2011 13 commits
    • Use long long builtins of zero counting for x86-64. · 10937b0c
      2011-06-18  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* longlong.h (count_leading_zeros): Use long long builtin for
      	x86-64.
      	(count_trailing_zeros): Likewise.
      
      From-SVN: r175183
      H.J. Lu committed
    • re PR target/49461 (boehm-gc and gcj incompatible with pie) · ffe51045
      	PR target/49461
      	* libjava/configure.ac (SYSTEMSPEC): Pass -no_pie for darwin11.
      	* libjava/configure: Regenerate.
      
      From-SVN: r175182
      Jack Howarth committed
    • Properly check if .init_array can be used with .ctors on targets. · 0c587260
      2011-06-18  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR other/49325
      	* acinclude.m4 (gcc_AC_INITFINI_ARRAY): Properly check if
      	.init_array can be used with .ctors on targets.
      	* configure: Regenerated.
      
      From-SVN: r175181
      H.J. Lu committed
    • re PR testsuite/49432 (FAIL: obj-c++.dg/invalid-type-1.mm) · 6e6224c1
      	PR testsuite/49432
      	* obj-c++.dg/invalid-type-1.mm: Adjust for new error wording.
      
      From-SVN: r175178
      Jakub Jelinek committed
    • re PR fortran/49400 ([F08] Proc-pointer declaration in BLOCK construct) · 3547d57e
      2011-06-18  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/49400
      	* decl.c (gfc_match_procedure): Allow PROCEDURE declarations inside
      	BLOCK constructs.
      
      2011-06-18  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/49400
      	* gfortran.dg/proc_ptr_31.f90: New.
      
      From-SVN: r175177
      Janus Weil committed
    • tree-sra.c (type_internals_preclude_sra_p): Return true if the element type is volatile. · c020c92b
      	* tree-sra.c (type_internals_preclude_sra_p) <ARRAY_TYPE>: Return true
      	if the element type is volatile.
      ada/
      	* gcc-interface/decl.c (gnat_to_gnu_component_type): Use GNAT_TYPE
      	local variable throughout.  Remove useless call to Base_Type.
      	(gnat_to_gnu_field): Use GNAT_FIELD_TYPE local variable throughout.
      	Take it also into account for the volatileness of the field.  Set the
      	TREE_SIDE_EFFECTS flag as well in this case.  Reorder some warnings.
      
      From-SVN: r175176
      Eric Botcazou committed
    • oops, comitted with wrong PR# :( PR lto/48246 · 10f13f22
      oops, comitted with wrong PR# :(
      	PR lto/48246
      	* lto.c (lto_1_to_1_map): Don't create empty partitions.
      	(lto_balanced_map): Likewise.
      
      From-SVN: r175175
      Jan Hubicka committed
    • re PR lto/48246 (ICE in lto_wpa_write_files) · 7496868d
      	PR lto/23754
      	* lto.c (lto_1_to_1_map): Don't create empty partitions.
      	(lto_balanced_map): Likewise.
      
      From-SVN: r175174
      Jan Hubicka committed
    • trans.c (Identifier_to_gnu): Don't set TREE_THIS_NOTRAP on a dereference built… · 96769d32
      trans.c (Identifier_to_gnu): Don't set TREE_THIS_NOTRAP on a dereference built for a by-ref object if...
      
      	* gcc-interface/trans.c (Identifier_to_gnu): Don't set TREE_THIS_NOTRAP
      	on a dereference built for a by-ref object if it has an address clause.
      
      From-SVN: r175172
      Eric Botcazou committed
    • einfo.ads (Address_Taken): Document use for the second argument of Asm_Input and… · 7e4680c1
      einfo.ads (Address_Taken): Document use for the second argument of Asm_Input and Asm_Output attributes.
      
      	* einfo.ads (Address_Taken): Document use for the second argument of
      	Asm_Input and Asm_Output attributes.
      	* sem_attr.adb (Analyze_Attribute) <Attribute_Asm_Input>: If the second
      	argument is an entity name, then set Address_Taken on it.
      	<Attribute_Asm_Output>: Likewise.
      	* gcc-interface/trans.c (lvalue_required_for_attribute_p): Handle the
      	Attr_Asm_Input and Attr_Asm_Output attributes explicitly.
      	(gnat_to_gnu) <N_Code_Statement>: If an operand is going to end up in
      	memory and is a CONST_DECL, retrieve its corresponding VAR_DECL.
      
      From-SVN: r175171
      Eric Botcazou committed
    • lto-symtab.c (lto_varpool_replace_node): Remove code handling extra name aliases. · 0e27699a
      
      	* lto-symtab.c (lto_varpool_replace_node): Remove code handling
      	extra name aliases.
      	(lto_symtab_resolve_can_prevail_p): Likewise.
      	(lto_symtab_merge_cgraph_nodes): Update alias_of pointers.
      	* cgraphbuild.c (record_reference): Remove extra body alias code.
      	(mark_load): Likewise.
      	(mark_store): Likewise.
      	* cgraph.h (varpool_node): Remove extra_name filed;
      	add alias_of and extraname_alias.
      	(varpool_create_variable_alias, varpool_for_node_and_aliases): Declare.
      	(varpool_alias_aliased_node): New inline function.
      	(varpool_variable_node): New function.
      	* cgraphunit.c (handle_alias_pairs): Handle also variable aliases.
      	* ipa-ref.c (ipa_record_reference): Allow aliases on variables.
      	* lto-cgraph.c (lto_output_varpool_node): Update streaming.
      	(input_varpool_node): Likewise.
      	* lto-streamer-out.c (produce_symtab): Remove extra name aliases.
      	(varpool_externally_visible_p): Remove extra body alias code.
      	(function_and_variable_visibility): Likewise.
      	* tree-ssa-structalias.c (associate_varinfo_to_alias_1): New function.
      	(ipa_pta_execute): Use it.
      	* varpool.c (varpool_remove_node): Remove extra name alias code.
      	(varpool_mark_needed_node): Likewise.
      	(varpool_analyze_pending_decls): Analyze aliases.
      	(assemble_aliases): New functoin.
      	(varpool_assemble_decl): Use it.
      	(varpool_create_variable_alias): New function.
      	(varpool_extra_name_alias): Rewrite.
      	(varpool_for_node_and_aliases): New function.
      
      From-SVN: r175169
      Jan Hubicka committed
    • lto-symtab.c (lto_varpool_replace_node): Remove code handling extra name aliases. · 3bd72190
      	* lto-symtab.c (lto_varpool_replace_node): Remove code handling
      	extra name aliases.
      	(lto_symtab_resolve_can_prevail_p): Likewise.
      	(lto_symtab_merge_cgraph_nodes): Update alias_of pointers.
      	* cgraphbuild.c (record_reference): Remove extra body alias code.
      	(mark_load): Likewise.
      	(mark_store): Likewise.
      	* cgraph.h (varpool_node): Remove extra_name filed;
      	add alias_of and extraname_alias.
      	(varpool_create_variable_alias, varpool_for_node_and_aliases): Declare.
      	(varpool_alias_aliased_node): New inline function.
      	(varpool_variable_node): New function.
      	* cgraphunit.c (handle_alias_pairs): Handle also variable aliases.
      	* ipa-ref.c (ipa_record_reference): Allow aliases on variables.
      	* lto-cgraph.c (lto_output_varpool_node): Update streaming.
      	(input_varpool_node): Likewise.
      	* lto-streamer-out.c (produce_symtab): Remove extra name aliases.
      	(varpool_externally_visible_p): Remove extra body alias code.
      	(function_and_variable_visibility): Likewise.
      	* tree-ssa-structalias.c (associate_varinfo_to_alias_1): New function.
      	(ipa_pta_execute): Use it.
      	* varpool.c (varpool_remove_node): Remove extra name alias code.
      	(varpool_mark_needed_node): Likewise.
      	(varpool_analyze_pending_decls): Analyze aliases.
      	(assemble_aliases): New functoin.
      	(varpool_assemble_decl): Use it.
      	(varpool_create_variable_alias): New function.
      	(varpool_extra_name_alias): Rewrite.
      	(varpool_for_node_and_aliases): New function.
      
      From-SVN: r175168
      Jan Hubicka committed
    • lto-symtab.c (lto_varpool_replace_node): Remove code handling extra name aliases. · cd35bcf7
      	* lto-symtab.c (lto_varpool_replace_node): Remove code handling
      	extra name aliases.
      	(lto_symtab_resolve_can_prevail_p): Likewise.
      	(lto_symtab_merge_cgraph_nodes): Update alias_of pointers.
      	* cgraphbuild.c (record_reference): Remove extra body alias code.
      	(mark_load): Likewise.
      	(mark_store): Likewise.
      	* cgraph.h (varpool_node): Remove extra_name filed;
      	add alias_of and extraname_alias.
      	(varpool_create_variable_alias, varpool_for_node_and_aliases): Declare.
      	(varpool_alias_aliased_node): New inline function.
      	(varpool_variable_node): New function.
      	* cgraphunit.c (handle_alias_pairs): Handle also variable aliases.
      	* ipa-ref.c (ipa_record_reference): Allow aliases on variables.
      	* lto-cgraph.c (lto_output_varpool_node): Update streaming.
      	(input_varpool_node): Likewise.
      	* lto-streamer-out.c (produce_symtab): Remove extra name aliases.
      	(varpool_externally_visible_p): Remove extra body alias code.
      	(function_and_variable_visibility): Likewise.
      	* tree-ssa-structalias.c (associate_varinfo_to_alias_1): New function.
      	(ipa_pta_execute): Use it.
      	* varpool.c (varpool_remove_node): Remove extra name alias code.
      	(varpool_mark_needed_node): Likewise.
      	(varpool_analyze_pending_decls): Analyze aliases.
      	(assemble_aliases): New functoin.
      	(varpool_assemble_decl): Use it.
      	(varpool_create_variable_alias): New function.
      	(varpool_extra_name_alias): Rewrite.
      	(varpool_for_node_and_aliases): New function.
      
      From-SVN: r175167
      Jan Hubicka committed