Commit 3d36be01 by Ilya Enkovich Committed by Ilya Enkovich

tree-sra.c (some_callers_have_mismatched_arguments_p): Allow thunk callers.

	* tree-sra.c (some_callers_have_mismatched_arguments_p): Allow thunk
	callers.

From-SVN: r219835
parent c11d86b4
2015-01-19 Ilya Enkovich <ilya.enkovich@intel.com>
* tree-sra.c (some_callers_have_mismatched_arguments_p): Allow thunk
callers.
2015-01-19 Ilya Enkovich <ilya.enkovich@intel.com>
* ipa-chkp.c (chkp_produce_thunks): Add early param
to split thunks production into two passes. Keep
'always_inline' function bodies after the first pass.
......
......@@ -4884,7 +4884,7 @@ some_callers_have_mismatched_arguments_p (struct cgraph_node *node,
{
struct cgraph_edge *cs;
for (cs = node->callers; cs; cs = cs->next_caller)
if (!callsite_arguments_match_p (cs->call_stmt))
if (!cs->call_stmt || !callsite_arguments_match_p (cs->call_stmt))
return true;
return false;
......
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