mirror of
https://github.com/autc04/Retro68.git
synced 2025-01-11 02:30:42 +00:00
try to suppress sibcalls to magic_inline functions
This commit is contained in:
parent
366768b135
commit
db62b69fae
@ -1383,6 +1383,9 @@ m68k_ok_for_sibcall_p (tree decl, tree exp)
|
|||||||
if (CALL_EXPR_STATIC_CHAIN (exp))
|
if (CALL_EXPR_STATIC_CHAIN (exp))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if (decl && lookup_attribute ("magicinline", TYPE_ATTRIBUTES( TREE_TYPE(decl) )))
|
||||||
|
return false;
|
||||||
|
|
||||||
if (!VOID_TYPE_P (TREE_TYPE (DECL_RESULT (cfun->decl))))
|
if (!VOID_TYPE_P (TREE_TYPE (DECL_RESULT (cfun->decl))))
|
||||||
{
|
{
|
||||||
/* Check that the return value locations are the same. For
|
/* Check that the return value locations are the same. For
|
||||||
|
Loading…
x
Reference in New Issue
Block a user