summaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-16 11:47:59 +0000
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-16 11:47:59 +0000
commit5a13cc452435adf63fdce8be2929f93fcdb11419 (patch)
tree3d3d660e6823684fb0c90c75b887acc6ad223020 /gcc/doc
parent596ef4942d004833c041f6c6f828a23ff1faf1c5 (diff)
downloadgcc-5a13cc452435adf63fdce8be2929f93fcdb11419.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189522 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/tm.texi2
-rw-r--r--gcc/doc/tm.texi.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index 0208b02125a..fc3345a3b11 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -4993,7 +4993,7 @@ The default version of this hook creates a variable called
@end deftypefn
@deftypefn {Target Hook} tree TARGET_STACK_PROTECT_FAIL (void)
-This hook returns a tree expression that alerts the runtime that the
+This hook returns a @code{CALL_EXPR} that alerts the runtime that the
stack protect guard variable has been modified. This expression should
involve a call to a @code{noreturn} function.
diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in
index 044b416b332..33ccf8260db 100644
--- a/gcc/doc/tm.texi.in
+++ b/gcc/doc/tm.texi.in
@@ -4934,7 +4934,7 @@ The default version of this hook creates a variable called
@end deftypefn
@hook TARGET_STACK_PROTECT_FAIL
-This hook returns a tree expression that alerts the runtime that the
+This hook returns a @code{CALL_EXPR} that alerts the runtime that the
stack protect guard variable has been modified. This expression should
involve a call to a @code{noreturn} function.