On 11/05/2016 02:46 PM, cheng...@emindsoft.com.cn wrote:
From: Chen Gang <gang.chen.5...@gmail.com>

r10 may also be as parameter stack pointer for the nested function, so
need save it before call mcount.

Also clean up code: use '!' instead of "== 0" for checking
static_chain_decl and compute_total_frame_size.

2016-11-06  Chen Gang  <gang.chen.5...@gmail.com>

        gcc/
        PR target/71331
        * config/tilegx/tilegx.c (tilegx_function_profiler): Save r10
        to stack before call mcount.
        (tilegx_can_use_return_insn_p): Clean up code.
Thanks for your patience.  I've installed this on the trunk.

Jeff

Reply via email to