diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2012-07-16 11:47:59 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2012-07-16 11:47:59 +0000 |
commit | b3c144a3a7bff42cd361d49c0b2d0f293d1627a1 (patch) | |
tree | 3d3d660e6823684fb0c90c75b887acc6ad223020 /gcc/function.c | |
parent | 468660d358fcc56eb30b208df4c2926ea9b5a00e (diff) | |
download | gcc-b3c144a3a7bff42cd361d49c0b2d0f293d1627a1.zip gcc-b3c144a3a7bff42cd361d49c0b2d0f293d1627a1.tar.gz gcc-b3c144a3a7bff42cd361d49c0b2d0f293d1627a1.tar.bz2 |
function.c (stack_protect_epilogue): Use expand_call to expand targetm.stack_protect_fail.
* function.c (stack_protect_epilogue): Use expand_call to expand
targetm.stack_protect_fail.
* stmt.c (expand_expr_stmt): Remove now-unused function.
* tree.h (expand_expr_stmt): Remove prototype.
* doc/tm.texi.in (TARGET_STACK_PROTECT_FAIL): Document that this
hook must return a CALL_EXPR.
* doc/tm.texi: Regenerate.
From-SVN: r189522
Diffstat (limited to 'gcc/function.c')
-rw-r--r-- | gcc/function.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c index bc9a99f..c567588 100644 --- a/gcc/function.c +++ b/gcc/function.c @@ -4660,7 +4660,8 @@ stack_protect_epilogue (void) if (JUMP_P (tmp)) predict_insn_def (tmp, PRED_NORETURN, TAKEN); - expand_expr_stmt (targetm.stack_protect_fail ()); + expand_call (targetm.stack_protect_fail (), NULL_RTX, /*ignore=*/true); + free_temp_slots (); emit_label (label); } |