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
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
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 functio
Hi,
the attached patch adds a new target hook allowing targets to keep
crtl->is_leaf true for leaf functions even if function profiling is
being used.
This e.g. helps s390 to omit generating a stack frame only due to
calling mcount. On S/390 we call mcount before the function prologue
so the mco