On Tue, Apr 29, 2014 at 2:54 PM, Andreas Krebbel wrote:
> diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
> index b8ca17e..937c2d5 100644
> --- a/gcc/doc/tm.texi
> +++ b/gcc/doc/tm.texi
> @@ -4953,6 +4953,10 @@ Define this macro if the code for function profiling 
> should come before
>  the function prologue.  Normally, the profiling code comes after.
>  @end defmac
>
> +@deftypefn {Target Hook} int TARGET_KEEP_LEAF_WHEN_PROFILED (void)
> +This target hook returns true if the target wants the leaf flag for the 
> current function to stay true even if it calls mcount.  This might make sense 
> for targets using the leaf flag only to determine whether a stack frame needs 
> to be generated or not and for which the call to mcount is generated before 
> the function prologue.
> +@end deftypefn
> +
>  @node Tail Calls
>  @subsection Permitting tail calls
>  @cindex tail calls


bool?

Ciao!
Steven

Reply via email to