summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-01-17 14:49:18 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2014-01-17 14:49:18 +0000
commit1941e89d79693bafc04d82dca8e1257a051ffc38 (patch)
treeb9e05de50b35d90bd6fffa9b05c48acfdfe12bf2 /gcc
parent12a0c3a2c4cb563427076116f85d5d6f93694ffb (diff)
downloadgcc-1941e89d79693bafc04d82dca8e1257a051ffc38.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206714 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog10
-rw-r--r--gcc/common.opt6
-rw-r--r--gcc/opts.c3
3 files changed, 16 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5440d4493f3..870d23233fa 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/common.opt b/gcc/common.opt
index 03f9b9b75d6..d334cf2ad69 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -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
diff --git a/gcc/opts.c b/gcc/opts.c
index bac1aff6970..7dee0e71b15 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -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 },