aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2021-03-31 10:51:11 +0200
committerMartin Liska <mliska@suse.cz>2021-03-31 10:52:22 +0200
commitc3c616747a615589d38aff92981eacbf932eb5c6 (patch)
tree08c44930ca797715df8826777fe649d59bdf469d
parentc001c194a2f73fb32461b597e91a35f9bbcf4414 (diff)
downloadgcc-c3c616747a615589d38aff92981eacbf932eb5c6.zip
gcc-c3c616747a615589d38aff92981eacbf932eb5c6.tar.gz
gcc-c3c616747a615589d38aff92981eacbf932eb5c6.tar.bz2
Fix coding style in IPA modref.
gcc/ChangeLog: * ipa-modref.c (analyze_ssa_name_flags): Fix coding style and one negated condition.
-rw-r--r--gcc/ipa-modref.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ipa-modref.c b/gcc/ipa-modref.c
index 5f33bb5..ef5e62b 100644
--- a/gcc/ipa-modref.c
+++ b/gcc/ipa-modref.c
@@ -1673,7 +1673,7 @@ analyze_ssa_name_flags (tree name, vec<modref_lattice> &lattice, int depth,
if (!record_ipa)
lattice[index].merge (call_flags);
- if (record_ipa)
+ else
lattice[index].add_escape_point (call, i,
call_flags, true);
}
@@ -1691,8 +1691,8 @@ analyze_ssa_name_flags (tree name, vec<modref_lattice> &lattice, int depth,
int call_flags = deref_flags
(gimple_call_arg_flags (call, i), ignore_stores);
if (!record_ipa)
- lattice[index].merge (call_flags);
- if (record_ipa)
+ lattice[index].merge (call_flags);
+ else
lattice[index].add_escape_point (call, i,
call_flags, false);
}