diff options
Diffstat (limited to 'gcc/ipa-reference.c')
-rw-r--r-- | gcc/ipa-reference.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ipa-reference.c b/gcc/ipa-reference.c index 795684692bf..2e062e45eaa 100644 --- a/gcc/ipa-reference.c +++ b/gcc/ipa-reference.c @@ -1014,7 +1014,7 @@ write_node_summary_p (struct cgraph_node *node) { return (node->analyzed && node->global.inlined_to == NULL - && cgraph_function_body_availability (node) == AVAIL_OVERWRITABLE + && cgraph_function_body_availability (node) >= AVAIL_OVERWRITABLE && get_reference_vars_info (node) != NULL); } |