diff options
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 43659cb..b1eea0b 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -1427,7 +1427,7 @@ cgraph_function_body_availability (struct cgraph_node *node) avail = AVAIL_NOT_AVAILABLE; else if (node->local.local) avail = AVAIL_LOCAL; - else if (node->local.externally_visible) + else if (!node->local.externally_visible) avail = AVAIL_AVAILABLE; /* If the function can be overwritten, return OVERWRITABLE. Take |