summaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-dse.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/tree-ssa-dse.cc')
-rw-r--r--gcc/tree-ssa-dse.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/tree-ssa-dse.cc b/gcc/tree-ssa-dse.cc
index 3beaed3ad38..881a2d0f98d 100644
--- a/gcc/tree-ssa-dse.cc
+++ b/gcc/tree-ssa-dse.cc
@@ -1030,7 +1030,7 @@ dse_classify_store (ao_ref *ref, gimple *stmt,
just pretend the stmt makes itself dead. Otherwise fail. */
if (defs.is_empty ())
{
- if (ref_may_alias_global_p (ref))
+ if (ref_may_alias_global_p (ref, false))
return DSE_STORE_LIVE;
if (by_clobber_p)
@@ -1062,7 +1062,7 @@ dse_classify_store (ao_ref *ref, gimple *stmt,
{
/* But if the store is to global memory it is definitely
not dead. */
- if (ref_may_alias_global_p (ref))
+ if (ref_may_alias_global_p (ref, false))
return DSE_STORE_LIVE;
defs.unordered_remove (i);
}