1. 17 May, 2013 1 commit
  2. 16 May, 2013 24 commits
  3. 15 May, 2013 15 commits
    • i386.c (ix86_decompose_address): Use DEFAULT_TLS_SEG_REG to access TLS segment register. · b8b3f0ca
      	* config/i386/i386.c (ix86_decompose_address): Use
      	DEFAULT_TLS_SEG_REG to access TLS segment register.
      	* config/i386/i386.h (DEFAULT_TLS_SEG_REG): New define.
      	* config/i386/rdos.h (DEFAULT_TLS_SEG_REG): Ditto.
      	(TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): Ditto.
      
      From-SVN: r198948
      Leif Ekblad committed
    • printers.py (Tr1HashtableIterator): Fix rendering of std::tr1 unordered containers iterator. · 4722d005
      2013-05-15  François Dumont  <fdumont@gcc.gnu.org>
      
      	* python/libstdcxx/v6/printers.py (Tr1HashtableIterator): Fix
      	rendering of std::tr1 unordered containers iterator.
      	(StdHashtableIterator): New, render std unordered containers iterator.
      	* testsuite/libstdc++-prettyprinters/tr1.cc: New.
      
      From-SVN: r198947
      François Dumont committed
    • re PR target/57260 (Generated R_MIPS_GOT_MIPS relocation for direct function… · e299a383
      re PR target/57260 (Generated R_MIPS_GOT_MIPS relocation for direct function call while compiling with -O2 on MIPS N64)
      
      gcc/
      	PR target/57260
      	* config/mips/mips.c (mips_function_ok_for_sibcall): Don't allow
      	sibling calls to functions that would normally be lazily bound,
      	unless $gp is call-clobbered.
      
      gcc/testsuite/
      	PR target/57260
      	* gcc.target/mips/call-1.c: Restrict to o32.
      	* gcc.target/mips/call-5.c, gcc.target/mips/call-6.c: New test.
      
      From-SVN: r198945
      Richard Sandiford committed
    • name-lookup.c (pushdecl_maybe_friend_1): Replace pairs of warning_at and… · 1e6cf26e
      name-lookup.c (pushdecl_maybe_friend_1): Replace pairs of warning_at and permerror with warning_at/inform and permerror/...
      
      /cp
      2013-05-15  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* name-lookup.c (pushdecl_maybe_friend_1): Replace pairs of
      	warning_at and permerror with warning_at/inform and permerror/
      	inform, respectively.
      
      /testsuite
      2013-05-15  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* g++.dg/cpp0x/lambda/lambda-shadow1.C: Replace dg-warnings with
      	dg-messages.
      	* g++.dg/warn/Wshadow-1.C: Likewise.
      	* g++.dg/warn/Wshadow-6.C: Likewise.
      	* g++.dg/warn/Wshadow-7.C: Likewise.
      
      From-SVN: r198943
      Paolo Carlini committed
    • i386.c (iy86_option_override_internal): Update processor_alias_table for missing… · e7208ea3
      i386.c (iy86_option_override_internal): Update processor_alias_table for missing PTA_PRFCHW and PTA_FXSR flags.
      
      	* config/i386/i386.c (iy86_option_override_internal): Update
      	processor_alias_table for missing PTA_PRFCHW and PTA_FXSR flags.  Add
      	PTA_POPCNT to corei7 entry and remove PTA_SSE from athlon-4 entry.
      	Do not enable SSE prefetch on non-SSE 3dNow! targets.  Enable
      	TARGET_PRFCHW for TARGET_3DNOW targets.
      	* config/i386/i386.md (prefetch): Enable for TARGET_PRFCHW instead
      	of TARGET_3DNOW.
      	(*prefetch_3dnow): Enable for TARGET_PRFCHW only.
      
      From-SVN: r198942
      Uros Bizjak committed
    • m68k.md (*rotlhi3_lowpart, [...]): Name for rotlhi3+1 and rotlqi3+1, resp. · e7413f3d
      * config/m68k/m68k.md (*rotlhi3_lowpart, *rotlqi3_lowpart): Name
      for rotlhi3+1 and rotlqi3+1, resp.  Fix reference to non-existing
      third operand.
      
      From-SVN: r198940
      Andreas Schwab committed
    • re PR c++/31952 (parameters may be redeclared in a function try-block) · 8ff25a22
      /cp
      2013-05-15  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/31952
      	* name-lookup.c (pushdecl_maybe_friend_1): Diagnose illegal
      	redeclarations.
      
      /testsuite
      2013-05-15  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/31952
      	* g++.dg/parse/pr31952-1.C: New.
      	* g++.dg/parse/pr31952-2.C: Likewise.
      	* g++.dg/parse/pr31952-3.C: Likewise.
      
      	* g++.dg/parse/pr18770.C: Adjust dg-errors to dg-messages.
      	* g++.old-deja/g++.jason/cond.C: Likewise.
      	* g++.dg/cpp0x/range-for5.C: Likewise.
      
      From-SVN: r198939
      Paolo Carlini committed
    • loop-unroll.c (report_unroll_peel): Check decision before emitting unroll/peel message. · ad4db775
      2013-05-15  Teresa Johnson  <tejohnson@google.com>
      
      	* loop-unroll.c (report_unroll_peel): Check decision before
              emitting unroll/peel message.
      
      From-SVN: r198936
      Teresa Johnson committed
    • function.h (has_bb_partition): New rtl_data flag. · af205f67
      2013-05-15  Teresa Johnson  <tejohnson@google.com>
      
      	* function.h (has_bb_partition): New rtl_data flag.
              (bb_reorder_complete): Ditto.
      	* cfgcleanup.c (try_crossjump_to_edge): Check for has_bb_partition
              instead of flag_reorder_blocks_and_partition.
              * cfgrtl.c (verify_hot_cold_block_grouping): Moved from bb-reorder.c,
              with some enhancements.
              (rtl_verify_flow_info_1): Call verify_hot_cold_block_grouping.
      	* bb-reorder.c (connect_traces): Check for has_bb_partition
              instead of flag_reorder_blocks_and_partition.
      	(verify_hot_cold_block_grouping): Moved to cfgrtl.c.
      	(reorder_basic_blocks): Set bb_reorder_complete flag, remove call to
              verify_hot_cold_block_grouping.
      	(partition_hot_cold_basic_blocks): Set has_bb_partition.
      
      From-SVN: r198934
      Teresa Johnson committed
    • Fix PR target/19599 - tailcall function pointers. · 9adcfa3c
      2013-05-15  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
      	PR target/19599
      	* config/arm/predicates.md (call_insn_operand): New predicate.
      	* config/arm/constraints.md ("Cs", "Ss"):  New constraints.
      	* config/arm/arm.md (*call_insn, *call_value_insn): Match only
      	if insn is not a tail call.
      	(*sibcall_insn, *sibcall_value_insn): Adjust for tailcalling through
      	registers.
      	* config/arm/arm.h (enum reg_class): New caller save register class.
      	(REG_CLASS_NAMES): Likewise.
      	(REG_CLASS_CONTENTS): Likewise.
      	* config/arm/arm.c (arm_function_ok_for_sibcall): Allow tailcalling
      	without decls.
      
      2013-05-15  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
      
      	PR target/19599
      	* gcc.target/arm/pr40887.c: Adjust testcase.
      	* gcc.target/arm/pr19599.c: New test.
      
      From-SVN: r198928
      Ramana Radhakrishnan committed
    • tree-vect-loop.c (vect_transform_loop): Use MSG_NOTE instead of MSG_OPTIMIZED_LOCATIONS. · ccb3ad87
      2013-05-15  Richard Biener  <rguenther@suse.de>
      
      	* tree-vect-loop.c (vect_transform_loop): Use MSG_NOTE instead
      	of MSG_OPTIMIZED_LOCATIONS.
      	* tree-vect-slp.c (vect_make_slp_decision): Likewise.
      	(vect_slp_transform_bb): Indicate location in MSG_OPTIMIZED_LOCATIONS
      	message.
      	* tree-vectorizer.c (vectorize_loops): Use MSG_NOTE instead
      	of MSG_OPTIMIZED_LOCATIONS.
      	(execute_vect_slp): Likewise.
      	* tree-vect-loop-manip.c (vect_do_peeling_for_loop_bound): Likewise.
      	(vect_create_cond_for_alias_checks): Likewise.
      	* tree-vect-patterns.c (vect_recog_dot_prod_pattern): Likewise.
      	(vect_recog_widen_mult_pattern): Likewise.
      	(vect_recog_widen_sum_pattern): Likewise.
      	(vect_recog_over_widening_pattern): Likewise.
      	(vect_recog_widen_shift_pattern): Likewise.
      	(vect_recog_vector_vector_shift_pattern): Likewise.
      	(vect_recog_divmod_pattern): Likewise.
      	(vect_recog_mixed_size_cond_pattern): Likewise.
      	(vect_recog_bool_pattern): Likewise.
      	(vect_pattern_recog_1): Likewise.
      
      From-SVN: r198927
      Richard Biener committed
    • ipa-prop.c (ipa_make_edge_direct_to_target): Redirect calls to non-functions to… · 48b1474e
      ipa-prop.c (ipa_make_edge_direct_to_target): Redirect calls to non-functions to builtin_unreachable.
      
      2013-05-15  Martin Jambor  <mjambor@suse.cz>
      
      	* ipa-prop.c (ipa_make_edge_direct_to_target): Redirect calls to
      	non-functions to builtin_unreachable.
      	* ipa-inline-transform.c (inline_call): Do not assert estimates were
      	correct when new direct edges were discovered.
      
      From-SVN: r198926
      Martin Jambor committed
    • ipa-prop.c (ipa_print_node_jump_functions): Print symbol order in header... · 9de04252
      2013-05-15  Martin Jambor  <mjambor@suse.cz>
      
      	* ipa-prop.c (ipa_print_node_jump_functions): Print symbol order in
      	header, print symbol order instead of node uid, print more information
      	about indirect edge targets.
      	(ipa_make_edge_direct_to_target): Print symbol order instead of node
      	uids.
      	(ipa_make_edge_direct_to_target): Likewise.
      	(remove_described_reference): Likewise.
      	(propagate_controlled_uses): Likewise.
      	(ipa_print_node_params): Also print symbol order.
      	(ipcp_transform_function): Print symbol order instead of node uids.
      	* cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Likewise.
      	(cgraph_get_create_real_symbol_node): Likewise.
      	* ipa-cp.c (print_lattice): Likewise.
      	(print_all_lattices): Likewise.
      	(determine_versionability): Likewise.
      	(initialize_node_lattices): Likewise.
      	(estimate_local_effects): Likewise.
      	(update_profiling_info): Likewise.
      	(create_specialized_node): Likewise.
      	(perhaps_add_new_callers): Likewise.
      	(decide_about_value): Likewise.
      	(decide_whether_version_node): Likewise.
      	(identify_dead_nodes): Likewise.
      	* ipa-inline-analysis.c (dump_inline_edge_summary): Likewise.
      	(dump_inline_summary): Likewise.
      	(estimate_node_size_and_time): Likewise.
      	(inline_analyze_function): Likewise.
      	* ipa-inline.c (report_inline_failed_reason): Likewise.
      	(want_early_inline_function_p): Likewise.
      	(edge_badness): Likewise.
      	(update_edge_key): Likewise.
      	(inline_small_functions): Likewise.  Add dumping of order to two other
      	dumps.
      	* ipa-pure-const.c (pure_const_read_summary): Print symbol order
      	instead of node uids.
      	(propagate_pure_const): Likewise.
      	(propagate_pure_const): Likewise.
      	* ipa-utils.c (dump_cgraph_node_set): Likewise.
      	* lto-cgraph.c (input_node): Explicitly specify we dump uid.
      	* lto-symtab.c (lto_cgraph_replace_node): Print symbol order instead
      	of node uids.
      	* tree-pretty-print.c (dump_function_header): Likewise.
      	* tree-sra.c (convert_callers_for_node): Dump in traditional format.
      	Print symbol order instead of node uids.
      
      lto/
      	* lto-partition.c (lto_balanced_map): Print symbol order instead
      	of node uids.
      
      From-SVN: r198925
      Martin Jambor committed
    • s390.c (s390_register_move_cost): Don't impose the FPR<->GPR move cost penalty… · 1dd03b91
      s390.c (s390_register_move_cost): Don't impose the FPR<->GPR move cost penalty if ldgr/lgdr can be used.
      
      2013-05-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
      
      	* config/s390/s390.c (s390_register_move_cost): Don't impose the
      	FPR<->GPR move cost penalty if ldgr/lgdr can be used.
      
      From-SVN: r198923
      Andreas Krebbel committed