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.
This commit is contained in:
Jan Hubicka 2020-09-26 00:01:57 +02:00
parent c74e6f7cfd
commit 67a5c21594
1 changed files with 1 additions and 1 deletions

View File

@ -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);