diff options
author | Bill Schmidt <wschmidt@linux.ibm.com> | 2012-07-18 15:15:36 +0000 |
---|---|---|
committer | Bill Schmidt <wschmidt@linux.ibm.com> | 2012-07-18 15:15:36 +0000 |
commit | 8efece567d35da29411eb3ae780faf5a5d661796 (patch) | |
tree | 70fc9421478cd9042bf16fdfce0894709050cc2b /gcc/opts.c | |
parent | ad52ce400ca51d3d36af0c47489630965d1ef7bf (diff) |
2012-07-18 Bill Schmidt <wschmidt@linux.ibm.com>
* doc/invoke.texi: Add -fhoist-adjacent-loads and -ftree-slsr to list
of flags controlling optimization; add -ftree-slsr to list of flags
enabled by default at -O; add -fhoist-adjacent-loads to list of flags
enabled by default at -O2; add -fvect-cost-model to list of flags
enabled by default at -O3; document -fhoist-adjacent-loads and
-ftree-slsr.
* opts.c (default_option): Make -ftree-slsr default at -O1 and above.
* gimple-ssa-strength-reduction.c (gate_strength_reduction): Use
flag_tree_slsr.
* common.opt: Add -ftree-slsr with flag_tree_slsr.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@189617 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts.c')
-rw-r--r-- | gcc/opts.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/opts.c b/gcc/opts.c index 43ee15ac8fd..6224c6acd17 100644 --- a/gcc/opts.c +++ b/gcc/opts.c @@ -452,6 +452,7 @@ static const struct default_options default_options_table[] = { OPT_LEVELS_1_PLUS, OPT_ftree_ch, NULL, 1 }, { OPT_LEVELS_1_PLUS, OPT_fcombine_stack_adjustments, NULL, 1 }, { OPT_LEVELS_1_PLUS, OPT_fcompare_elim, NULL, 1 }, + { OPT_LEVELS_1_PLUS, OPT_ftree_slsr, NULL, 1 }, /* -O2 optimizations. */ { OPT_LEVELS_2_PLUS, OPT_finline_small_functions, NULL, 1 }, |