Re: [PATCH] Avoid an unused stack frame for -mprofile-kernel profiling on leaf functions.

2014-09-26 Thread David Edelsohn
On Fri, Sep 26, 2014 at 9:02 AM, Anton Blanchard wrote: > > gcc/: > > 2014-09-25 Anton Blanchard > > PR target/63354 > * config/rs6000/rs6000.c (rs6000_keep_leaf_when_profiled): New > function. > * config/rs6000/linux64.h (TARGET_KEEP_LEAF_WHEN_PROFILED): Define. Okay.

[PATCH] Avoid an unused stack frame for -mprofile-kernel profiling on leaf functions.

2014-09-26 Thread Anton Blanchard
gcc/: 2014-09-25 Anton Blanchard PR target/63354 * config/rs6000/rs6000.c (rs6000_keep_leaf_when_profiled): New function. * config/rs6000/linux64.h (TARGET_KEEP_LEAF_WHEN_PROFILED): Define. --- gcc/config/rs6000/linux64.h | 3 +++ gcc/config/rs6000/rs6000.c | 9 +