From 2eba0ed5f6359cd0fe3e71536860a14617b64360 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 10 Sep 2015 19:19:27 +0000 Subject: [PATCH] Put back requires_stack_frame_p used by i386.c * shrink-wrap.c (requires_stack_frame_p): Remove static. * shrink-wrap.h (requires_stack_frame_p): Put back. From-SVN: r227659 --- gcc/ChangeLog | 5 +++++ gcc/shrink-wrap.c | 2 +- gcc/shrink-wrap.h | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a9a6fbd77b8..d47b1465953 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-09-10 H.J. Lu + + * shrink-wrap.c (requires_stack_frame_p): Remove static. + * shrink-wrap.h (requires_stack_frame_p): Put back. + 2015-09-10 Richard Sandiford * reload1.c (elimination_costs_in_insn): Locally turn diff --git a/gcc/shrink-wrap.c b/gcc/shrink-wrap.c index 0ece4cf81c3..d10795a0b3a 100644 --- a/gcc/shrink-wrap.c +++ b/gcc/shrink-wrap.c @@ -68,7 +68,7 @@ along with GCC; see the file COPYING3. If not see PROLOGUE_USED contains the hard registers used in the function prologue. SET_UP_BY_PROLOGUE is the set of registers we expect the prologue to set up for the function. */ -static bool +bool requires_stack_frame_p (rtx_insn *insn, HARD_REG_SET prologue_used, HARD_REG_SET set_up_by_prologue) { diff --git a/gcc/shrink-wrap.h b/gcc/shrink-wrap.h index efc83703b77..681990134f5 100644 --- a/gcc/shrink-wrap.h +++ b/gcc/shrink-wrap.h @@ -23,6 +23,7 @@ along with GCC; see the file COPYING3. If not see #include "function.h" /* In shrink-wrap.c. */ +extern bool requires_stack_frame_p (rtx_insn *, HARD_REG_SET, HARD_REG_SET); extern void try_shrink_wrapping (edge *entry_edge, edge orig_entry_edge, bitmap_head *bb_flags, rtx_insn *prologue_seq); extern edge get_unconverted_simple_return (edge, bitmap_head, -- 2.30.2