This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PING] 3 patches waiting for approval/review


On 09/10/13 21:46, Jeff Law wrote:
> On 08/21/13 03:21, Andreas Krebbel wrote:
>> [RFC] Allow functions calling mcount before prologue to be leaf functions
>> http://gcc.gnu.org/ml/gcc-patches/2013-04/msg00993.html
> I don't think this is necessarily correct for all targets.  ISTM the 
> ability to consider a function calling mcount as a leaf needs to be a 
> property of the target.

We have already "profile_before_prologue" as a target property. Shouldn't this be enough to decide
upon this? When a function calls mcount before the prologue it shouldn't matter whether the function
is leaf or not.

-Andreas-


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]