[Bug target/63354] gcc -pg -mprofile-kernel creates unused stack frames on leaf functions on ppc64le

segher at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Sep 24 14:31:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63354

Segher Boessenkool <segher at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|powerpc64le-linux           |powerpc*-*-*
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-09-24
                 CC|                            |segher at gcc dot gnu.org
     Ever confirmed|0                           |1

--- Comment #1 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Confirmed.  We need
#define TARGET_KEEP_LEAF_WHEN_PROFILED hook_bool_void_true
to have it behave as you want.



More information about the Gcc-bugs mailing list