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
This commit is contained in:
parent
c11d86b47f
commit
3d36be01e4
|
@ -1,3 +1,8 @@
|
|||
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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue