re PR lto/45375 ([meta-bug] Issues with building Mozilla (i.e. Firefox) with LTO)
PR lto/45375 * ipa-inline.c (ipa_inline): Remove extern inlines and virtual functions. * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data. * lto.c (do_whole_program_analysis): Remove unreachable nodes after IPA. From-SVN: r195066
This commit is contained in:
parent
ba29dca90d
commit
a19b143257
|
@ -1,3 +1,9 @@
|
||||||
|
2013-01-09 Jan Hubicka <jh@suse.cz>
|
||||||
|
|
||||||
|
PR lto/45375
|
||||||
|
* ipa-inline.c (ipa_inline): Remove extern inlines and virtual functions.
|
||||||
|
* cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data.
|
||||||
|
|
||||||
2013-01-09 Richard Sandiford <rdsandiford@googlemail.com>
|
2013-01-09 Richard Sandiford <rdsandiford@googlemail.com>
|
||||||
|
|
||||||
PR middle-end/55114
|
PR middle-end/55114
|
||||||
|
|
|
@ -184,6 +184,7 @@ cgraph_clone_node (struct cgraph_node *n, tree decl, gcov_type count, int freq,
|
||||||
new_node->symbol.decl = decl;
|
new_node->symbol.decl = decl;
|
||||||
symtab_register_node ((symtab_node)new_node);
|
symtab_register_node ((symtab_node)new_node);
|
||||||
new_node->origin = n->origin;
|
new_node->origin = n->origin;
|
||||||
|
new_node->symbol.lto_file_data = n->symbol.lto_file_data;
|
||||||
if (new_node->origin)
|
if (new_node->origin)
|
||||||
{
|
{
|
||||||
new_node->next_nested = new_node->origin->nested;
|
new_node->next_nested = new_node->origin->nested;
|
||||||
|
|
|
@ -1793,7 +1793,7 @@ ipa_inline (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
inline_small_functions ();
|
inline_small_functions ();
|
||||||
symtab_remove_unreachable_nodes (true, dump_file);
|
symtab_remove_unreachable_nodes (false, dump_file);
|
||||||
free (order);
|
free (order);
|
||||||
|
|
||||||
/* Inline functions with a property that after inlining into all callers the
|
/* Inline functions with a property that after inlining into all callers the
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
2013-01-09 Jan Hubicka <jh@suse.cz>
|
||||||
|
|
||||||
|
PR lto/45375
|
||||||
|
* lto.c (do_whole_program_analysis): Remove unreachable nodes after IPA.
|
||||||
|
|
||||||
2012-12-10 H.J. Lu <hongjiu.lu@intel.com>
|
2012-12-10 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
PR lto/55466
|
PR lto/55466
|
||||||
|
|
|
@ -3215,6 +3215,7 @@ do_whole_program_analysis (void)
|
||||||
cgraph_state = CGRAPH_STATE_IPA_SSA;
|
cgraph_state = CGRAPH_STATE_IPA_SSA;
|
||||||
|
|
||||||
execute_ipa_pass_list (all_regular_ipa_passes);
|
execute_ipa_pass_list (all_regular_ipa_passes);
|
||||||
|
symtab_remove_unreachable_nodes (false, dump_file);
|
||||||
|
|
||||||
if (cgraph_dump_file)
|
if (cgraph_dump_file)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue