(expand_call): If PCC_STATIC_STRUCT_RETURN defined, mark
function as addressable same time as we clear is_integrable. From-SVN: r6964
This commit is contained in:
parent
2babb33b57
commit
0dd532dced
10
gcc/calls.c
10
gcc/calls.c
@ -631,7 +631,15 @@ expand_call (exp, target, ignore)
|
|||||||
#ifdef PCC_STATIC_STRUCT_RETURN
|
#ifdef PCC_STATIC_STRUCT_RETURN
|
||||||
{
|
{
|
||||||
pcc_struct_value = 1;
|
pcc_struct_value = 1;
|
||||||
is_integrable = 0; /* Easier than making that case work right. */
|
/* Easier than making that case work right. */
|
||||||
|
if (is_integrable)
|
||||||
|
{
|
||||||
|
/* In case this is a static function, note that it has been
|
||||||
|
used. */
|
||||||
|
if (! TREE_ADDRESSABLE (fndecl))
|
||||||
|
mark_addressable (fndecl);
|
||||||
|
is_integrable = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#else /* not PCC_STATIC_STRUCT_RETURN */
|
#else /* not PCC_STATIC_STRUCT_RETURN */
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user