summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-phiprop.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-15 12:26:48 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2009-05-15 12:26:48 +0000
commit408c3c778db3bf85c896dd76fd281b190d06cb3e (patch)
tree1818051a5c78b937696e26c156e5645bc99247d6 /gcc/tree-ssa-phiprop.c
parentbd8d8d8190891d693eadea6c938b5eed2c031a70 (diff)
downloadgcc-408c3c778db3bf85c896dd76fd281b190d06cb3e.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@147571 138bc75d-0d04-0410-961f-82ee72b054a4
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 6ccc30ec808..022e4af9a48 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 =