diff options
Diffstat (limited to 'gcc/cgraphunit.c')
-rw-r--r-- | gcc/cgraphunit.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/cgraphunit.c b/gcc/cgraphunit.c index 5d81f56..07b597f 100644 --- a/gcc/cgraphunit.c +++ b/gcc/cgraphunit.c @@ -574,8 +574,9 @@ cgraph_reset_node (struct cgraph_node *node) cgraph_node_remove_callees (node); /* We may need to re-queue the node for assembling in case - we already proceeded it and ignored as not needed. */ - if (node->reachable && !flag_unit_at_a_time) + we already proceeded it and ignored as not needed or got + a re-declaration in IMA mode. */ + if (node->reachable) { struct cgraph_node *n; |