diff options
author | Richard Biener <rguenther@suse.de> | 2014-01-17 14:49:18 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2014-01-17 14:49:18 +0000 |
commit | 14379e666810cff69f620fbad5a44ce2d68486c3 (patch) | |
tree | b9e05de50b35d90bd6fffa9b05c48acfdfe12bf2 /gcc/opts.c | |
parent | 88e18bd5cc520a945793b5cae2561ad3a70633f6 (diff) | |
download | gcc-14379e666810cff69f620fbad5a44ce2d68486c3.zip gcc-14379e666810cff69f620fbad5a44ce2d68486c3.tar.gz gcc-14379e666810cff69f620fbad5a44ce2d68486c3.tar.bz2 |
re PR tree-optimization/46590 (long compile time with -O2 and many loops)
2014-01-17 Richard Biener <rguenther@suse.de>
PR tree-optimization/46590
* opts.c (default_options_table): Add entries for
OPT_fbranch_count_reg, OPT_fmove_loop_invariants and OPT_ftree_pta,
all enabled at -O1 but not for -Og.
* common.opt (fbranch-count-reg): Remove Init(1).
(fmove-loop-invariants): Likewise.
(ftree-pta): Likewise.
From-SVN: r206714
Diffstat (limited to 'gcc/opts.c')
-rw-r--r-- | gcc/opts.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -454,6 +454,9 @@ static const struct default_options default_options_table[] = { 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 }, + { OPT_LEVELS_1_PLUS_NOT_DEBUG, OPT_fbranch_count_reg, NULL, 1 }, + { OPT_LEVELS_1_PLUS_NOT_DEBUG, OPT_fmove_loop_invariants, NULL, 1 }, + { OPT_LEVELS_1_PLUS_NOT_DEBUG, OPT_ftree_pta, NULL, 1 }, /* -O2 optimizations. */ { OPT_LEVELS_2_PLUS, OPT_finline_small_functions, NULL, 1 }, |