summaryrefslogtreecommitdiff
path: root/gcc/tree-cfg.c
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-02 21:36:17 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-02 21:36:17 +0000
commitfa784ce1f9d21ddaa842f8ffeb15116285955f56 (patch)
treefaab110cd64d099e949c3f2a8835e76ece2eed5e /gcc/tree-cfg.c
parent66f5bab9efa2fbbc7ae663a7573eee052faa741f (diff)
downloadgcc-fa784ce1f9d21ddaa842f8ffeb15116285955f56.tar.gz
* tree-mudflap.c (mf_decl_cache_locals, mf_build_check_statement_for):
Do not add referenced vars. * tree-cfg.c (update_modified_stmts): Do not update when SSA operands are not active. * passes.c (init_optimization_passes): Put mudflap_2 after free_datastructures. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120358 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-cfg.c')
-rw-r--r--gcc/tree-cfg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/tree-cfg.c b/gcc/tree-cfg.c
index 51c0d266aa0..18039079f58 100644
--- a/gcc/tree-cfg.c
+++ b/gcc/tree-cfg.c
@@ -2803,6 +2803,8 @@ bsi_for_stmt (tree stmt)
static inline void
update_modified_stmts (tree t)
{
+ if (!ssa_operands_active ())
+ return;
if (TREE_CODE (t) == STATEMENT_LIST)
{
tree_stmt_iterator i;