aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/function.c2
-rw-r--r--gcc/function.h2
3 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4dc83d3..731a7bc8b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -272,6 +272,9 @@
2014-11-06 Bernd Schmidt <bernds@codesourcery.com>
+ * function.c (thread_prologue_and_epilogue_insns): No longer static.
+ * function.h (thread_prologue_and_epilogue_insns): Declare.
+
* target.def (assemble_undefined_decl): New hooks.
* hooks.c (hook_void_FILEptr_constcharptr_const_tree): New function.
* hooks.h (hook_void_FILEptr_constcharptr_const_tree): Declare.
diff --git a/gcc/function.c b/gcc/function.c
index 0ffff5b..6bdb500 100644
--- a/gcc/function.c
+++ b/gcc/function.c
@@ -5849,7 +5849,7 @@ emit_return_for_exit (edge exit_fallthru_edge, bool simple_p)
in a sibcall omit the sibcall_epilogue if the block is not in
ANTIC. */
-static void
+void
thread_prologue_and_epilogue_insns (void)
{
bool inserted;
diff --git a/gcc/function.h b/gcc/function.h
index 326e24b..3a6305c 100644
--- a/gcc/function.h
+++ b/gcc/function.h
@@ -902,6 +902,8 @@ extern void stack_protect_epilogue (void);
extern void expand_function_start (tree);
extern void expand_dummy_function_end (void);
+extern void thread_prologue_and_epilogue_insns (void);
+
#ifdef RTX_CODE
extern void diddle_return_value (void (*)(rtx, void*), void*);
extern void clobber_return_register (void);