aboutsummaryrefslogtreecommitdiff
path: root/gcc/ipa-split.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ipa-split.c')
-rw-r--r--gcc/ipa-split.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/ipa-split.c b/gcc/ipa-split.c
index c3771f1..0e6440f 100644
--- a/gcc/ipa-split.c
+++ b/gcc/ipa-split.c
@@ -1691,7 +1691,8 @@ execute_split_functions (void)
/* This can be relaxed; function might become inlinable after splitting
away the uninlinable part. */
if (ipa_fn_summaries
- && !ipa_fn_summaries->get_create (node)->inlinable)
+ && ipa_fn_summaries->get (node)
+ && !ipa_fn_summaries->get (node)->inlinable)
{
if (dump_file)
fprintf (dump_file, "Not splitting: not inlinable.\n");