diff options
author | Jan Hubicka <jh@suse.cz> | 2020-09-26 00:01:57 +0200 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2020-09-26 00:01:57 +0200 |
commit | 67a5c215940f4b21bac1aa489ce1f2fb3d52a53a (patch) | |
tree | cf99037b289fdb7b839faa33e465e5ba9b0eeae5 /gcc | |
parent | c74e6f7cfd7a741fc0477fe3660eec57581b22c5 (diff) | |
download | gcc-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.c | 2 |
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); |