gcc/
commit839a47194f7d7bd200451824004da6167b5292ba
authorbergner <bergner@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Oct 2018 13:36:20 +0000 (4 13:36 +0000)
committerbergner <bergner@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Oct 2018 13:36:20 +0000 (4 13:36 +0000)
treec6391a013b017f1777208b69af63b59bb49804f7
parent4af0061382c132ce42562505ce152650aaa9cc27
gcc/
PR rtl-optimization/87466
* target.def (setjmp_preserves_nonvolatile_regs_p): New target hook.
* doc/tm.texi.in (TARGET_SETJMP_PRESERVES_NONVOLATILE_REGS_P): New hook.
* doc/tm.texi: Regenerate.
* ira-lives.c (process_bb_node_lives): Use the new target hook.
* lra-lives.c (process_bb_lives): Likewise.
* config/rs6000/rs6000.c (TARGET_SETJMP_PRESERVES_NONVOLATILE_REGS_P):
Define.

gcc/testsuite/
PR rtl-optimization/87466
* gcc.target/powerpc/pr87466.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@264842 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/config/rs6000/rs6000.c
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/ira-lives.c
gcc/lra-lives.c
gcc/target.def
gcc/testsuite/gcc.target/powerpc/pr87466.c [new file with mode: 0644]