summaryrefslogtreecommitdiff
path: root/gcc/gimple-fold.c
diff options
context:
space:
mode:
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-11 14:08:30 +0000
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>2012-05-11 14:08:30 +0000
commit0de7f8dd1975c07cd525f1aea40c819943c676eb (patch)
tree539ec93dd09e2b8bae3be79be3efdd6dbaa6de1b /gcc/gimple-fold.c
parent615091c17699ae8b96a281899f89f55cada85308 (diff)
downloadgcc-0de7f8dd1975c07cd525f1aea40c819943c676eb.tar.gz
2012-05-11 Richard Guenther <rguenther@suse.de>
* tree-flow.h (referenced_var_check_and_insert): Remove. (find_new_referenced_vars): Likewise. * tree-dfa.c (referenced_var_check_and_insert): Make static. (find_new_referenced_vars_1, find_new_referenced_vars): Remove. * tree-inline.c (copy_bb): Use find_referenced_vars_in instead of find_new_referenced_vars. * gimple-fold.c (gimplify_and_update_call_from_tree): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187408 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimple-fold.c')
-rw-r--r--gcc/gimple-fold.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gimple-fold.c b/gcc/gimple-fold.c
index 55e7344043c..ee8b4d14d7c 100644
--- a/gcc/gimple-fold.c
+++ b/gcc/gimple-fold.c
@@ -625,7 +625,7 @@ gimplify_and_update_call_from_tree (gimple_stmt_iterator *si_p, tree expr)
new_stmt = gsi_stmt (i);
/* The replacement can expose previously unreferenced variables. */
if (gimple_in_ssa_p (cfun))
- find_new_referenced_vars (new_stmt);
+ find_referenced_vars_in (new_stmt);
/* If the new statement possibly has a VUSE, update it with exact SSA
name we know will reach this one. */
if (gimple_has_mem_ops (new_stmt))