public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-3773] Fix ipa-modref ICE with not allocated summaries.
@ 2020-10-10 19:23 Jan Hubicka
0 siblings, 0 replies; only message in thread
From: Jan Hubicka @ 2020-10-10 19:23 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:6a6c85f4e11fe8160dcb3942fc00664da4a98717
commit r11-3773-g6a6c85f4e11fe8160dcb3942fc00664da4a98717
Author: Jan Hubicka <jh@suse.cz>
Date: Sat Oct 10 21:22:52 2020 +0200
Fix ipa-modref ICE with not allocated summaries.
* ipa-modref.c (modref_transform): Check that summaries are allocated.
Diff:
---
gcc/ipa-modref.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/ipa-modref.c b/gcc/ipa-modref.c
index 9392d73a941..2b561fe3179 100644
--- a/gcc/ipa-modref.c
+++ b/gcc/ipa-modref.c
@@ -1343,7 +1343,7 @@ remap_arguments (vec <int> *map, modref_records *tt)
static unsigned int
modref_transform (struct cgraph_node *node)
{
- if (!node->clone.param_adjustments)
+ if (!node->clone.param_adjustments || !summaries)
return 0;
modref_summary *r = summaries->get (node);
if (!r)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-10-10 19:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-10 19:23 [gcc r11-3773] Fix ipa-modref ICE with not allocated summaries Jan Hubicka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).