aboutsummaryrefslogtreecommitdiff
path: root/gcc/opts.c
diff options
context:
space:
mode:
authorJoern Rennecke <joern.rennecke@embecosm.com>2012-04-28 01:56:54 +0000
committerMaxim Kuvyrkov <maxim@codesourcery.com>2012-04-28 01:56:54 +0000
commit7fec24f0f4d0d3a3b60dc7a1e8e666774c4b9629 (patch)
treefa87f8c36fc8d168b8c0ab80f20d01bb470d9374 /gcc/opts.c
parente9dbfa1c29a527afaf6cbd04d7843eb5a6dba3a5 (diff)
PR tree-optimization/38785
* common.opt (ftree-partial-pre): New option. * doc/invoke.texi: Document it. * opts.c (default_options_table): Initialize flag_tree_partial_pre. * tree-ssa-pre.c (do_partial_partial_insertion): Insert only if it will benefit speed path. (execute_pre): Use flag_tree_partial_pre. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@186928 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/opts.c')
-rw-r--r--gcc/opts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/opts.c b/gcc/opts.c
index 4e8b3c033fe..ab2de8fbcd1 100644
--- a/gcc/opts.c
+++ b/gcc/opts.c
@@ -499,6 +499,7 @@ static const struct default_options default_options_table[] =
{ OPT_LEVELS_3_PLUS, OPT_fgcse_after_reload, NULL, 1 },
{ OPT_LEVELS_3_PLUS, OPT_ftree_vectorize, NULL, 1 },
{ OPT_LEVELS_3_PLUS, OPT_fipa_cp_clone, NULL, 1 },
+ { OPT_LEVELS_3_PLUS, OPT_ftree_partial_pre, NULL, 1 },
/* -Ofast adds optimizations to -O3. */
{ OPT_LEVELS_FAST, OPT_ffast_math, NULL, 1 },