Fix modref insertion hook.
authorJan Hubicka <jh@suse.cz>
Fri, 13 Nov 2020 20:15:40 +0000 (21:15 +0100)
committerJan Hubicka <jh@suse.cz>
Fri, 13 Nov 2020 20:15:40 +0000 (21:15 +0100)
commit1a90e99fa2f2423a195301adca060dccc3d0755e
tree6194970631a13326d219fb8685ce4da06b77d4b1
parent8fca8142bc0b7b7831644f8c7f6d24ebb8a72dbe
Fix modref insertion hook.

* ipa-modref.c (modref_summaries::insert,
modref_summaries_lto::insert): Remove summary if ipa-modref is disabled.
gcc/ipa-modref.c