aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorMartin Liska <marxin.liska@gmail.com>2013-12-17 22:20:12 +0000
committerMartin Liska <marxin@gcc.gnu.org>2013-12-17 22:20:12 +0000
commit9cec31f43afbdb326fddbc144e9aea63986828e4 (patch)
tree3ad29a01dabd9e49f49f9ebdc04f7655721d6300 /gcc/opts.c
parent14407011d62da724e88ac0cb30390d3f8fda2b9f (diff)
downloadgcc-9cec31f43afbdb326fddbc144e9aea63986828e4.zip
gcc-9cec31f43afbdb326fddbc144e9aea63986828e4.tar.gz
gcc-9cec31f43afbdb326fddbc144e9aea63986828e4.tar.bz2
Time profile-based function reordering (phase 2).
Co-Authored-By: Jan Hubicka <jh@suse.cz> From-SVN: r206070
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index 4cb2cdf..5be03fa 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -1710,6 +1710,8 @@ common_handle_option (struct gcc_options *opts,
opts->x_flag_vect_cost_model = VECT_COST_MODEL_DYNAMIC;
if (!opts_set->x_flag_tree_loop_distribute_patterns)
opts->x_flag_tree_loop_distribute_patterns = value;
+ if (!opts_set->x_flag_profile_reorder_functions)
+ opts->x_flag_profile_reorder_functions = value;
/* Indirect call profiling should do all useful transformations
speculative devirtualization does. */
if (!opts_set->x_flag_devirtualize_speculatively