1. 19 Feb, 2015 11 commits
  2. 18 Feb, 2015 24 commits
  3. 17 Feb, 2015 5 commits
    • ipa-visibility.c (function_and_variable_visibility): Only check locality if node… · 1ede94c5
      ipa-visibility.c (function_and_variable_visibility): Only check locality if node is not already local.
      
      	* ipa-visibility.c (function_and_variable_visibility): Only
      	check locality if node is not already local.
      	* ipa-inline.c (want_inline_function_to_all_callers_p): Use
      	call_for_symbol_and_aliases instead of
      	call_for_symbol_thunks_and_aliases.
      	(ipa_inline): Likewise.
      	* cgraph.c (cgraph_node::call_for_symbol_thunks_and_aliases):
      	first walk aliases.
      	* ipa.c (symbol_table::remove_unreachable_nodes): Use
      	call_for_symbol_and_aliases.
      	* ipa-profile.c (ipa_propagate_frequency_data): Add function_symbol.
      	(ipa_propagate_frequency_1): Use it; use opt_for_fn
      	(ipa_propagate_frequency): Update.
      	(ipa_profile): Add opt_for_fn gueards.
      
      From-SVN: r220775
      Jan Hubicka committed
    • sh.opt (mcbranch-force-delay-slot): New option. · f05911fb
      gcc/
      	* config/sh/sh.opt (mcbranch-force-delay-slot): New option.
      	* doc/invoke.texi (SH options): Document it.
      	* config/sh/sh.c (sh_insn_length_adjustment): Check
      	TARGET_CBRANCH_FORCE_DELAY_SLOT instead of sh_cpu_attr == CPU_SH2E.
      
      gcc/testsuite/
      	* gcc.target/sh/sh.exp (check_effective_target_sh1): New.
      	* gcc.target/sh/force-cbranch-delay-slot.c: New.
      
      From-SVN: r220774
      Oleg Endo committed
    • Add -fipa-cp-alignment · 3c99176a
      This patch adds -fipa-cp-alignment to provide a way to enable/disable
      alignment discovery and propagation in IPA-CP.
      
      gcc/
      
      	* common.opt (fipa-cp-alignment): New.
      	* ipa-cp.c (ipcp_store_alignment_results): Check
      	flag_ipa_cp_alignment.
      	* opts.c (default_options_table): Enable -fipa-cp-alignment for
      	-O2.
      	(enable_fdo_optimizations): Set x_flag_ipa_cp_alignment.
      	* doc/invoke.texi: Document -fipa-cp-alignment.
      
      gcc/testsuite/
      
      	* gcc.dg/ipa/propalign-3.c: New test.
      
      From-SVN: r220773
      H.J. Lu committed
    • re PR target/64793 ([SH] missed delay slot) · d420206e
      gcc/
      	PR target/64793
      	* config/sh/sh.md (cbranch define_delay): Set annulled true branch insn
      	to nil.  Adjust comments.
      
      gcc/testsuite/
      	PR target/64793
      	* gcc.target/sh/pr64793.c: New.
      	* gcc.target/sh/pr51244-20-sh2a.c: Adjust expected cmp/gt insn count.
      
      From-SVN: r220772
      Oleg Endo committed
    • ipa-visibility.c (function_and_variable_visibility): Only check locality if node… · 1379ce8f
      ipa-visibility.c (function_and_variable_visibility): Only check locality if node is not already local.
      
      	* ipa-visibility.c (function_and_variable_visibility): Only
      	check locality if node is not already local.
      	* ipa-inline.c (want_inline_function_to_all_callers_p): Use
      	call_for_symbol_and_aliases instead of
      	call_for_symbol_thunks_and_aliases.
      	(ipa_inline): Likewise.
      	* cgraph.c (cgraph_node::call_for_symbol_thunks_and_aliases):
      	first walk aliases.
      	* ipa.c (symbol_table::remove_unreachable_nodes): Use
      	call_for_symbol_and_aliases.
      	* ipa-profile.c (ipa_propagate_frequency_data): Add function_symbol.
      	(ipa_propagate_frequency_1): Use it; use opt_for_fn
      	(ipa_propagate_frequency): Update.
      	(ipa_profile): Add opt_for_fn guards.
      
      From-SVN: r220771
      Jan Hubicka committed