diff options
author | Martin Liska <mliska@suse.cz> | 2021-12-01 13:30:25 +0100 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2021-12-01 13:30:25 +0100 |
commit | 4cba2fa027afd5f815bd9bf3965afe1972c7387c (patch) | |
tree | efa05b4ca35e93c65eb1a2585d5ad3dd2dd3db32 /gcc/tree-ssa-alias.c | |
parent | 789b80d1fbd0b1d516b389bf11b5c70aa4d1088b (diff) | |
parent | d376b73aa12d183e3040456c7641fb74500d0727 (diff) | |
download | gcc-4cba2fa027afd5f815bd9bf3965afe1972c7387c.zip gcc-4cba2fa027afd5f815bd9bf3965afe1972c7387c.tar.gz gcc-4cba2fa027afd5f815bd9bf3965afe1972c7387c.tar.bz2 |
Merge branch 'master' into devel/sphinx
Diffstat (limited to 'gcc/tree-ssa-alias.c')
-rw-r--r-- | gcc/tree-ssa-alias.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/tree-ssa-alias.c b/gcc/tree-ssa-alias.c index cd6a0b2..88fd782 100644 --- a/gcc/tree-ssa-alias.c +++ b/gcc/tree-ssa-alias.c @@ -1800,9 +1800,6 @@ nonoverlapping_refs_since_match_p (tree match1, tree ref1, return 1; } } - - ++alias_stats.nonoverlapping_refs_since_match_p_must_overlap; - return 0; } /* Return TYPE_UID which can be used to match record types we consider @@ -2743,9 +2740,7 @@ ref_maybe_used_by_call_p_1 (gcall *call, ao_ref *ref, bool tbaa_p) unsigned i; int flags = gimple_call_flags (call); - /* Const functions without a static chain do not implicitly use memory. */ - if (!gimple_call_chain (call) - && (flags & (ECF_CONST|ECF_NOVOPS))) + if (flags & (ECF_CONST|ECF_NOVOPS)) goto process_args; /* A call that is not without side-effects might involve volatile |