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: [PATCH v2] gcc/config/tilegx/tilegx.c (tilegx_function_profiler): Save r10 to stack before call mcount


On 6/3/16 09:21, Richard Henderson wrote:
> On 06/02/2016 03:23 PM, chengang@emindsoft.com.cn wrote:
>>        fprintf (file,
>> +           "\t{\n"
>> +           "\taddi\tsp, sp, -8\n"
>> +           "\tst\tsp, r10\n"
>> +           "\t}\n"
>>             "\t{\n"
> 
> You need only do this if cfun->static_chain_decl is set.
> 

OK, thanks, I shall send patch v3 for it, within this week end.

Thanks.
-- 
Chen Gang (éå)

Managing Natural Environments is the Duty of Human Beings.


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