Commit f653eb0e by Martin Jambor Committed by Martin Jambor

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
parent 499a39af
2019-10-30 Martin Jambor <mjambor@suse.cz>
ipa/92278
* cgraph.c (cgraph_edge::possibly_call_in_translation_unit_p): Fix
availability comparison.
2019-10-30 Jozef Lawrynowicz <jozef.l@mittosystems.com>
* config/msp430/msp430.c (msp430_expand_helper): Support expansion of
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment