From 6f84b1cdef9d8a077b7df0127e8d1ccfaa4ee144 Mon Sep 17 00:00:00 2001 From: davidxl Date: Mon, 7 Apr 2014 17:03:26 +0000 Subject: [PATCH] Backport r203445 from v17 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/google@209193 138bc75d-0d04-0410-961f-82ee72b054a4 --- main/gcc/opts.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/main/gcc/opts.c b/main/gcc/opts.c index c19f1f18aca..dfb70e05281 100644 --- a/main/gcc/opts.c +++ b/main/gcc/opts.c @@ -866,7 +866,7 @@ finish_options (struct gcc_options *opts, struct gcc_options *opts_set, if (opts->x_flag_vect_cost_model == VECT_COST_MODEL_CHEAP) { maybe_set_param_value (PARAM_VECT_MAX_VERSION_FOR_ALIAS_CHECKS, - 6, opts->x_param_values, opts_set->x_param_values); + 8, opts->x_param_values, opts_set->x_param_values); maybe_set_param_value (PARAM_VECT_MAX_VERSION_FOR_ALIGNMENT_CHECKS, 0, opts->x_param_values, opts_set->x_param_values); maybe_set_param_value (PARAM_VECT_MAX_PEELING_FOR_ALIGNMENT, @@ -1739,8 +1739,6 @@ common_handle_option (struct gcc_options *opts, if (!opts_set->x_flag_tree_loop_vectorize && !opts_set->x_flag_tree_vectorize) opts->x_flag_tree_loop_vectorize = value; - if (!opts_set->x_flag_vect_cost_model) - 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) -- 2.11.4.GIT