aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiprop.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2009-05-15 12:26:48 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2009-05-15 12:26:48 +0000
commit248fc9f328f5f1c4d94052c073bdc7699cacb382 (patch)
tree1818051a5c78b937696e26c156e5645bc99247d6 /gcc/tree-ssa-phiprop.c
parent16b29cc4d6294f78af7026dbf5aae68b03531da3 (diff)
downloadgcc-248fc9f328f5f1c4d94052c073bdc7699cacb382.zip
gcc-248fc9f328f5f1c4d94052c073bdc7699cacb382.tar.gz
gcc-248fc9f328f5f1c4d94052c073bdc7699cacb382.tar.bz2
common.opt (-ftree-forwprop, [...]): New options, enabled by default.
2009-05-15 Richard Guenther <rguenther@suse.de> * common.opt (-ftree-forwprop, -ftree-phiprop, -ftree-pta): New options, enabled by default. * doc/invoke.texi (-ftree-forwprop, -ftree-phiprop, -ftree-pta): Document. * tree-ssa-forwprop.c (gate_forwprop): Use flag_tree_forwprop. * tree-ssa-phiprop.c (gate_phiprop): Use flag_tree_phiprop. * tree-ssa-structalias.c (gate_tree_pta): New function. (pass_build_alias): Use it. From-SVN: r147571
Diffstat (limited to 'gcc/tree-ssa-phiprop.c')
-rw-r--r--gcc/tree-ssa-phiprop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-ssa-phiprop.c b/gcc/tree-ssa-phiprop.c
index 6ccc30e..022e4af 100644
--- a/gcc/tree-ssa-phiprop.c
+++ b/gcc/tree-ssa-phiprop.c
@@ -381,7 +381,7 @@ tree_ssa_phiprop (void)
static bool
gate_phiprop (void)
{
- return 1;
+ return flag_tree_phiprop;
}
struct gimple_opt_pass pass_phiprop =