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
This commit is contained in:
Richard Biener 2014-01-17 14:49:18 +00:00 committed by Richard Biener
parent 88e18bd5cc
commit 14379e6668
3 changed files with 16 additions and 3 deletions

View File

@ -1,3 +1,13 @@
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.
2014-01-17 Jakub Jelinek <jakub@redhat.com>
* config/i386/i386.c (ix86_data_alignment): For compatibility with

View File

@ -875,7 +875,7 @@ Common Report Var(flag_bounds_check)
Generate code to check bounds before indexing arrays
fbranch-count-reg
Common Report Var(flag_branch_on_count_reg) Init(1) Optimization
Common Report Var(flag_branch_on_count_reg) Optimization
Replace add, compare, branch with branch on count register
fbranch-probabilities
@ -1564,7 +1564,7 @@ Common Report Var(flag_modulo_sched_allow_regmoves)
Perform SMS based modulo scheduling with register moves allowed
fmove-loop-invariants
Common Report Var(flag_move_loop_invariants) Init(1) Optimization
Common Report Var(flag_move_loop_invariants) Optimization
Move loop invariant computations out of loops
fdce
@ -2170,7 +2170,7 @@ Common Report Var(flag_tree_partial_pre) Optimization
In SSA-PRE optimization on trees, enable partial-partial redundancy elimination
ftree-pta
Common Report Var(flag_tree_pta) Init(1) Optimization
Common Report Var(flag_tree_pta) Optimization
Perform function-local points-to analysis on trees.
ftree-reassoc

View File

@ -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 },