From: Jan Hubicka Date: Fri, 25 Sep 2020 22:01:57 +0000 (+0200) Subject: Fix gimple_clobber handling in ipa-modref X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=67a5c215940f4b21bac1aa489ce1f2fb3d52a53a;p=gcc.git Fix gimple_clobber handling in ipa-modref 2020-09-25 Jan Hubicka * ipa-modref.c (analyze_stmt): Fix return value for gimple_clobber. --- diff --git a/gcc/ipa-modref.c b/gcc/ipa-modref.c index aa6929ff010..44b844b90db 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);