Commit 2ee6e04a by Jan Hubicka Committed by Jan Hubicka

ipa-fnsummary.c (evaluate_properties_for_edge): Call IPA_NODE_REF on function symbol.


	* ipa-fnsummary.c (evaluate_properties_for_edge): Call IPA_NODE_REF
	on function symbol.
	* gcc.dg/tree-ssa/pr46076.c: Make tested code hot.

From-SVN: r278009
parent 7b22b7ce
2019-11-09 Jan Hubicka <hubicka@ucw.cz>
* ipa-fnsummary.c (evaluate_properties_for_edge): Call IPA_NODE_REF
on function symbol.
2019-11-09 Jan Hubicka <hubicka@ucw.cz>
* tree.c (fld_incomplete_type_of): Clear TYPE_FINAL_P, TYPE_EMPTY_P,
ENUM_IS_OPAQUE and ENUM_IS_SCOPED.
(free_lang_data_in_binfo): Clear TREE_PUBLIC in BINFO
......@@ -474,7 +474,7 @@ evaluate_properties_for_edge (struct cgraph_edge *e, bool inline_p,
caller_parms_info = IPA_NODE_REF (e->caller->inlined_to);
else
caller_parms_info = IPA_NODE_REF (e->caller);
callee_pi = IPA_NODE_REF (e->callee);
callee_pi = IPA_NODE_REF (callee);
if (count && (info->conds || known_vals_ptr))
known_vals.safe_grow_cleared (count);
......
2019-11-09 Jan Hubicka <hubicka@ucw.cz>
* gcc.dg/tree-ssa/pr46076.c: Make tested code hot.
2019-11-09 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/92401
......
......@@ -19,9 +19,12 @@ main()
{
/* Make sure we perform indirect inlining of one and two and optimize
the result to a constant. */
for (int i = 0; i < 100; i++)
{
if (print(one) != 3)
link_error ();
if (print(two) != 5)
link_error ();
}
return 0;
}
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