aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2012-11-04 16:51:18 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2012-11-04 15:51:18 +0000
commitf56f2d332c6f78342a8f52ab426c38806d772017 (patch)
treed8ee6e98d96c8a04aa08085cf3934280834cfdf7 /gcc/opts.c
parentda04ea110d6950f1f5e62f309dd175c770d969ba (diff)
downloadgcc-f56f2d332c6f78342a8f52ab426c38806d772017.zip
gcc-f56f2d332c6f78342a8f52ab426c38806d772017.tar.gz
gcc-f56f2d332c6f78342a8f52ab426c38806d772017.tar.bz2
invoke.texi (profile-use): update documentation.
* invoke.texi (profile-use): update documentation. * opts.c (common_handle_option): Enable tree-vectorize and tree-loop-distribute-patterns. * tree-loop-distribution.c (tree_loop_distribution): Skip loops optimized for size. * config/i386/i386.c (ix86_option_override_internal): Enabe prefetch_lop_arrays for profile-use. From-SVN: r193135
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index a1cf2d5..3160b8c 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -1587,6 +1587,12 @@ common_handle_option (struct gcc_options *opts,
opts->x_flag_unswitch_loops = value;
if (!opts_set->x_flag_gcse_after_reload)
opts->x_flag_gcse_after_reload = value;
+ if (!opts_set->x_flag_tree_vectorize)
+ opts->x_flag_tree_vectorize = value;
+ if (!opts_set->x_flag_vect_cost_model)
+ opts->x_flag_vect_cost_model = value;
+ if (!opts_set->x_flag_tree_loop_distribute_patterns)
+ opts->x_flag_tree_loop_distribute_patterns = value;
break;
case OPT_fprofile_generate_: