summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
58819ff)
for boundary nodes.
(output_cgraph): Do not arrange comdat groups for boundary nodes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158615
138bc75d-0d04-0410-961f-
82ee72b054a4
+2010-04-21 Jan Hubicka <jh@suse.cz>
+
+ * lto-cgraph.c (lto_output_node): Do not output comdat groups
+ for boundary nodes.
+ (output_cgraph): Do not arrange comdat groups for boundary nodes.
+
2010-04-21 Jakub Jelinek <jakub@redhat.com>
PR debug/40040
2010-04-21 Jakub Jelinek <jakub@redhat.com>
PR debug/40040
lto_output_sleb128_stream (ob->main_stream,
node->global.estimated_growth);
lto_output_uleb128_stream (ob->main_stream, node->global.inlined);
lto_output_sleb128_stream (ob->main_stream,
node->global.estimated_growth);
lto_output_uleb128_stream (ob->main_stream, node->global.inlined);
- if (node->same_comdat_group)
+ if (node->same_comdat_group && !boundary_p)
{
ref = lto_cgraph_encoder_lookup (encoder, node->same_comdat_group);
gcc_assert (ref != LCC_NOT_FOUND);
{
ref = lto_cgraph_encoder_lookup (encoder, node->same_comdat_group);
gcc_assert (ref != LCC_NOT_FOUND);
/* We should have moved all the inlines. */
gcc_assert (!callee->global.inlined_to);
add_node_to (encoder, callee);
/* We should have moved all the inlines. */
gcc_assert (!callee->global.inlined_to);
add_node_to (encoder, callee);
- /* Also with each included function include all other functions
- in the same comdat group. */
- if (callee->same_comdat_group)
- {
- struct cgraph_node *next;
- for (next = callee->same_comdat_group;
- next != callee;
- next = next->same_comdat_group)
- if (!cgraph_node_in_set_p (next, set))
- add_node_to (encoder, next);
- }
- /* Also with each included function include all other functions
- in the same comdat group. */
- if (node->same_comdat_group)
- {
- struct cgraph_node *next;
- for (next = node->same_comdat_group;
- next != node;
- next = next->same_comdat_group)
- if (!cgraph_node_in_set_p (next, set))
- add_node_to (encoder, next);
- }
}
/* Write out the nodes. We must first output a node and then its clones,
}
/* Write out the nodes. We must first output a node and then its clones,