From 209be5530933e20eee6b7d7141c11a535f0461e2 Mon Sep 17 00:00:00 2001 From: Richard Guenther Date: Fri, 27 Apr 2012 11:58:20 +0000 Subject: tree-flow.h (is_hidden_global_store): Remove. 2012-04-27 Richard Guenther * tree-flow.h (is_hidden_global_store): Remove. * tree-ssa-sink.c (is_hidden_global_store): Likewise. * tree-ssa-alias.h (ref_may_alias_global_p): Declare. (stmt_may_clobber_global_p): Likewise. * tree-ssa-alias.c (ref_may_alias_global_p): New function. (stmt_may_clobber_global_p): Likewise. * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Call stmt_may_clobber_global_p. * tree-ssa-dse.c (dse_possible_dead_store_p): Likewise. From-SVN: r186903 --- gcc/tree-ssa-dse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc/tree-ssa-dse.c') diff --git a/gcc/tree-ssa-dse.c b/gcc/tree-ssa-dse.c index 1fdb26c..a859942 100644 --- a/gcc/tree-ssa-dse.c +++ b/gcc/tree-ssa-dse.c @@ -169,7 +169,7 @@ dse_possible_dead_store_p (gimple stmt, gimple *use_stmt) just pretend the stmt makes itself dead. Otherwise fail. */ if (!temp) { - if (is_hidden_global_store (stmt)) + if (stmt_may_clobber_global_p (stmt)) return false; temp = stmt; -- cgit v1.1