On 04/30/14 08:15, Andreas Krebbel wrote:
On Wed, Apr 30, 2014 at 12:18:08PM +0200, Steven Bosscher wrote:
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)
...
bool?

Right.  That's better.

2014-04-30  Andreas Krebbel  <andreas.kreb...@de.ibm.com>

        * target.def: Add new target hook.
        * doc/tm.texi: Regenerate.
        * targhooks.h (default_keep_leaf_when_profiled): Add prototype.
        * targhooks.c (default_keep_leaf_when_profiled): New function.

        * config/s390/s390.c (s390_keep_leaf_when_profiled): New function.
        (TARGET_KEEP_LEAF_WHEN_PROFILED): Define.
OK for the trunk.

Thanks,
Jeff

Reply via email to