mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-09 15:51:08 +08:00
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:
parent
c74e6f7cfd
commit
67a5c21594
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user