aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2005-08-03 20:57:41 -0700
committerRichard Henderson <rth@gcc.gnu.org>2005-08-03 20:57:41 -0700
commitb755446cef42521b9cbfbf4a3fe334db4d9054f2 (patch)
tree389fa11256e277631e1679c27218e3f2f99cb718 /gcc/function.c
parenta4f5cd4441e5e5a140ad6495eef56b88462ca807 (diff)
downloadgcc-b755446cef42521b9cbfbf4a3fe334db4d9054f2.zip
gcc-b755446cef42521b9cbfbf4a3fe334db4d9054f2.tar.gz
gcc-b755446cef42521b9cbfbf4a3fe334db4d9054f2.tar.bz2
re PR middle-end/23221 (-fstack-protector does not protect tail call functions)
PR 23221 * function.c (stack_protect_epilogue): Export. * tree.h (stack_protect_epilogue): Declare. * calls.c (expand_call): Call it. From-SVN: r102731
Diffstat (limited to 'gcc/function.c')
-rw-r--r--gcc/function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/function.c b/gcc/function.c
index 2b4fe1b..225c2a9 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -4013,7 +4013,7 @@ stack_protect_prologue (void)
# define gen_stack_protect_test(x, y, z) (gcc_unreachable (), NULL_RTX)
#endif
-static void
+void
stack_protect_epilogue (void)
{
tree guard_decl = targetm.stack_protect_guard ();