diff options
author | Martin Liska <marxin.liska@gmail.com> | 2013-12-17 22:20:12 +0000 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2013-12-17 22:20:12 +0000 |
commit | 9cec31f43afbdb326fddbc144e9aea63986828e4 (patch) | |
tree | 3ad29a01dabd9e49f49f9ebdc04f7655721d6300 /gcc/opts.c | |
parent | 14407011d62da724e88ac0cb30390d3f8fda2b9f (diff) | |
download | gcc-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.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |