www.delorie.com/gnu/docs/gcc/gccint_134.html   search  
 
Buy the book!


GNU Compiler Collection (GCC) Internals

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

10.10.13 Permitting tail calls

FUNCTION_OK_FOR_SIBCALL (decl)
A C expression that evaluates to true if it is ok to perform a sibling call to decl from the current function.

It is not uncommon for limitations of calling conventions to prevent tail calls to functions outside the current unit of translation, or during PIC compilation. Use this macro to enforce these restrictions, as the sibcall md pattern can not fail, or fall over to a "normal" call.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003