re PR target/71331 (target-tilegx: nested-function-4.c: r10 is conflict which is...
authorChen Gang <gang.chen.5i5j@gmail.com>
Tue, 29 Nov 2016 18:33:20 +0000 (18:33 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 29 Nov 2016 18:33:20 +0000 (11:33 -0700)
commit885cf7d356ae115469355016eca2d543b3ebd9c0
tree2a464d740e50202ff099d176463216bd71af610a
parent57e27acf2810cc98f89aa429d2babb6d7673ded9
re PR target/71331 (target-tilegx: nested-function-4.c: r10 is conflict which is both in function frame and in parameter.)

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.

From-SVN: r242969
gcc/ChangeLog
gcc/config/tilegx/tilegx.c