aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2020-09-26 00:01:57 +0200
committerJan Hubicka <jh@suse.cz>2020-09-26 00:01:57 +0200
commit67a5c215940f4b21bac1aa489ce1f2fb3d52a53a (patch)
treecf99037b289fdb7b839faa33e465e5ba9b0eeae5 /gcc
parentc74e6f7cfd7a741fc0477fe3660eec57581b22c5 (diff)
downloadgcc-67a5c215940f4b21bac1aa489ce1f2fb3d52a53a.zip
gcc-67a5c215940f4b21bac1aa489ce1f2fb3d52a53a.tar.gz
gcc-67a5c215940f4b21bac1aa489ce1f2fb3d52a53a.tar.bz2
Fix gimple_clobber handling in ipa-modref
2020-09-25 Jan Hubicka <hubicka@ucw.cz> * ipa-modref.c (analyze_stmt): Fix return value for gimple_clobber.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ipa-modref.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-modref.c b/gcc/ipa-modref.c
index aa6929f..44b844b 100644
--- a/gcc/ipa-modref.c
+++ b/gcc/ipa-modref.c
@@ -658,7 +658,7 @@ analyze_stmt (modref_summary *summary, gimple *stmt, bool ipa)
{
/* There is no need to record clobbers. */
if (gimple_clobber_p (stmt))
- return false;
+ return true;
/* Analyze all loads and stores in STMT. */
walk_stmt_load_store_ops (stmt, summary,
analyze_load, analyze_store);