diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2016-03-10 17:11:14 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2016-03-10 16:11:14 +0000 |
commit | 4f4ada6afb970674c3f33d895ec793491a026c1c (patch) | |
tree | 75330395a11be8ce2a0a3af9dc620e72f851a88a /gcc/cgraph.c | |
parent | 079cd8548b540ceda89887711f6f7fb3a8fa49ec (diff) | |
download | gcc-4f4ada6afb970674c3f33d895ec793491a026c1c.zip gcc-4f4ada6afb970674c3f33d895ec793491a026c1c.tar.gz gcc-4f4ada6afb970674c3f33d895ec793491a026c1c.tar.bz2 |
re PR ipa/69589 (ICE in initialize_node_lattices, at ipa-cp.c:971)
PR lto/69589
* cgraph.c (cgraph_node::dump): Dump split_part and indirect_call_target.
* cgraph.h (cgraph_node): Add indirect_call_target flag.
* ipa.c (has_addr_references_p): Cleanup.
(is_indirect_call_target_p): New.
(walk_polymorphic_call_targets): Do not mark virtuals that may be
called indirectly as local.
(symbol_table::remove_unreachable_nodes): Compute indirect_call_target.
* g++.dg/lto/pr69589_0.C: New testcase
* g++.dg/lto/pr69589_1.C: New testcase
From-SVN: r234115
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index ee6a209..871ed62 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -2061,6 +2061,10 @@ cgraph_node::dump (FILE *f) fprintf (f, " icf_merged"); if (merged_comdat) fprintf (f, " merged_comdat"); + if (split_part) + fprintf (f, " split_part"); + if (indirect_call_target) + fprintf (f, " indirect_call_target"); if (nonfreeing_fn) fprintf (f, " nonfreeing_fn"); if (DECL_STATIC_CONSTRUCTOR (decl)) |