aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2016-03-10 17:11:14 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2016-03-10 16:11:14 +0000
commit4f4ada6afb970674c3f33d895ec793491a026c1c (patch)
tree75330395a11be8ce2a0a3af9dc620e72f851a88a /gcc/cgraph.h
parent079cd8548b540ceda89887711f6f7fb3a8fa49ec (diff)
downloadgcc-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.h')
-rw-r--r--gcc/cgraph.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index fc7bb22..d0345c6 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -1366,6 +1366,8 @@ public:
unsigned parallelized_function : 1;
/* True if function is part split out by ipa-split. */
unsigned split_part : 1;
+ /* True if the function appears as possible target of indirect call. */
+ unsigned indirect_call_target : 1;
private:
/* Worker for call_for_symbol_and_aliases. */