aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/tm.texi.in
diff options
context:
space:
mode:
authorPeter Bergner <bergner@gcc.gnu.org>2018-10-04 08:36:20 -0500
committerPeter Bergner <bergner@gcc.gnu.org>2018-10-04 08:36:20 -0500
commit82957a739c9ed37cc78d3cabfc61d04549e65867 (patch)
treec6391a013b017f1777208b69af63b59bb49804f7 /gcc/doc/tm.texi.in
parentac712e4eb43f3dd8d7f12624ea4014ecb2a9cf34 (diff)
downloadgcc-82957a739c9ed37cc78d3cabfc61d04549e65867.zip
gcc-82957a739c9ed37cc78d3cabfc61d04549e65867.tar.gz
gcc-82957a739c9ed37cc78d3cabfc61d04549e65867.tar.bz2
re PR rtl-optimization/87466 (IRA and LRA spill all pseudos that are live across setjmp calls)
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. From-SVN: r264842
Diffstat (limited to 'gcc/doc/tm.texi.in')
-rw-r--r--gcc/doc/tm.texi.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in
index e1966bd..63b0c0a 100644
--- a/gcc/doc/tm.texi.in
+++ b/gcc/doc/tm.texi.in
@@ -7509,6 +7509,8 @@ You need not define this macro if it would always have the value of zero.
@hook TARGET_MODE_REP_EXTENDED
+@hook TARGET_SETJMP_PRESERVES_NONVOLATILE_REGS_P
+
@defmac STORE_FLAG_VALUE
A C expression describing the value returned by a comparison operator
with an integral mode and stored by a store-flag instruction