re PR target/63354 (gcc -pg -mprofile-kernel creates unused stack frames on leaf...
commitc8d3e08887ee020e9b7b21d17481289ffd2275c9
authorAnton Blanchard <anton@samba.org>
Thu, 21 Jan 2016 17:32:28 +0000 (21 17:32 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Thu, 21 Jan 2016 17:32:28 +0000 (21 17:32 +0000)
tree7c5dbd506d83da38a40f3e5ca1b6772aae479b8e
parentb638c908a7f43892dfe69f58d83cff2ca0a5872b
re PR target/63354 (gcc -pg -mprofile-kernel creates unused stack frames on leaf functions on ppc64le)

[gcc]

2016-01-21  Anton Blanchard  <anton@samba.org>
    Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR target/63354
* config/rs6000/linux64.h (TARGET_KEEP_LEAF_WHEN_PROFILED): New
#define.
* config/rs6000/rs6000.c (rs6000_keep_leaf_when_profiled): New
function.

[gcc/testsuite]

2016-01-21  Anton Blanchard  <anton@samba.org>
    Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR target/63354
* gcc.target/powerpc/pr63354.c:  New test.

Co-Authored-By: Bill Schmidt <wschmidt@linux.vnet.ibm.com>
From-SVN: r232684
gcc/ChangeLog
gcc/config/rs6000/linux64.h
gcc/config/rs6000/rs6000.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/pr63354.c [new file with mode: 0644]