From: Jan Hubicka Date: Fri, 25 Sep 2020 22:01:57 +0000 (+0200) Subject: Fix gimple_clobber handling in ipa-modref X-Git-Tag: upstream/12.2.0~13486 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=67a5c215940f4b21bac1aa489ce1f2fb3d52a53a;p=platform%2Fupstream%2Fgcc.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 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);