(expand_call) [PCC_STATIC_STRUCT_RETURN]:
Always set pcc_struct_value if aggregate_value_p returns 1. From-SVN: r4007
This commit is contained in:
parent
1d839079a6
commit
9e7b1d0a36
@ -600,13 +600,11 @@ expand_call (exp, target, ignore)
|
|||||||
is_const = 0;
|
is_const = 0;
|
||||||
|
|
||||||
#ifdef PCC_STATIC_STRUCT_RETURN
|
#ifdef PCC_STATIC_STRUCT_RETURN
|
||||||
if (flag_pcc_struct_return)
|
|
||||||
{
|
{
|
||||||
pcc_struct_value = 1;
|
pcc_struct_value = 1;
|
||||||
is_integrable = 0; /* Easier than making that case work right. */
|
is_integrable = 0; /* Easier than making that case work right. */
|
||||||
}
|
}
|
||||||
else
|
#else /* not PCC_STATIC_STRUCT_RETURN */
|
||||||
#endif
|
|
||||||
{
|
{
|
||||||
struct_value_size = int_size_in_bytes (TREE_TYPE (exp));
|
struct_value_size = int_size_in_bytes (TREE_TYPE (exp));
|
||||||
|
|
||||||
@ -628,6 +626,7 @@ expand_call (exp, target, ignore)
|
|||||||
target = 0;
|
target = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif /* not PCC_STATIC_STRUCT_RETURN */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If called function is inline, try to integrate it. */
|
/* If called function is inline, try to integrate it. */
|
||||||
|
Loading…
Reference in New Issue
Block a user