Commit 29b7399a by Giuseppe Scrivano Committed by Richard Sandiford

reorg.c: Always define make_return_insns.

gcc/
2011-09-13  Giuseppe Scrivano  <gscrivano@gnu.org>

	* reorg.c: Always define make_return_insns.

From-SVN: r178813
parent 1f15c50b
2011-09-13 Giuseppe Scrivano <gscrivano@gnu.org>
* reorg.c: Always define make_return_insns.
2011-09-13 Jan Hubicka <jh@suse.cz> 2011-09-13 Jan Hubicka <jh@suse.cz>
PR other/49533 PR other/49533
...@@ -219,9 +219,7 @@ static rtx fill_slots_from_thread (rtx, rtx, rtx, rtx, ...@@ -219,9 +219,7 @@ static rtx fill_slots_from_thread (rtx, rtx, rtx, rtx,
int *, rtx); int *, rtx);
static void fill_eager_delay_slots (void); static void fill_eager_delay_slots (void);
static void relax_delay_slots (rtx); static void relax_delay_slots (rtx);
#ifdef HAVE_return
static void make_return_insns (rtx); static void make_return_insns (rtx);
#endif
/* A wrapper around next_active_insn which takes care to return ret_rtx /* A wrapper around next_active_insn which takes care to return ret_rtx
unchanged. */ unchanged. */
...@@ -3711,7 +3709,6 @@ relax_delay_slots (rtx first) ...@@ -3711,7 +3709,6 @@ relax_delay_slots (rtx first)
} }
} }
#ifdef HAVE_return
/* Look for filled jumps to the end of function label. We can try to convert /* Look for filled jumps to the end of function label. We can try to convert
them into RETURN insns if the insns in the delay slot are valid for the them into RETURN insns if the insns in the delay slot are valid for the
...@@ -3867,7 +3864,6 @@ make_return_insns (rtx first) ...@@ -3867,7 +3864,6 @@ make_return_insns (rtx first)
fill_simple_delay_slots (1); fill_simple_delay_slots (1);
fill_simple_delay_slots (0); fill_simple_delay_slots (0);
} }
#endif
/* Try to find insns to place in delay slots. */ /* Try to find insns to place in delay slots. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment