diff options
author | Martin Jambor <mjambor@suse.cz> | 2019-10-30 16:47:29 +0100 |
---|---|---|
committer | Martin Jambor <jamborm@gcc.gnu.org> | 2019-10-30 16:47:29 +0100 |
commit | f653eb0e44bd1b8bca92aefa4d92756e91581eec (patch) | |
tree | 46d876c2de398a179b67b1657767ebefc426b143 /gcc/cgraph.c | |
parent | 499a39af5dd093a676a77e5694e185dea3a96121 (diff) |
Edges to interposable calles are possibly_call_in_translation_unit_p
2019-10-30 Martin Jambor <mjambor@suse.cz>
ipa/92278
* cgraph.c (cgraph_edge::possibly_call_in_translation_unit_p): Fix
availability comparison.
From-SVN: r277627
Diffstat (limited to 'gcc/cgraph.c')
-rw-r--r-- | gcc/cgraph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cgraph.c b/gcc/cgraph.c index 9eea0218c4f..699209654f8 100644 --- a/gcc/cgraph.c +++ b/gcc/cgraph.c @@ -3819,7 +3819,7 @@ cgraph_edge::possibly_call_in_translation_unit_p (void) if (node->previous_sharing_asm_name) node = symtab_node::get_for_asmname (DECL_ASSEMBLER_NAME (callee->decl)); gcc_assert (TREE_PUBLIC (node->decl)); - return node->get_availability () >= AVAIL_AVAILABLE; + return node->get_availability () >= AVAIL_INTERPOSABLE; } /* A stashed copy of "symtab" for use by selftest::symbol_table_test. |