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
This commit is contained in:
Giuseppe Scrivano 2011-09-13 14:42:29 +00:00 committed by Richard Sandiford
parent 1f15c50b16
commit 29b7399adf
2 changed files with 4 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2011-09-13 Giuseppe Scrivano <gscrivano@gnu.org>
* reorg.c: Always define make_return_insns.
2011-09-13 Jan Hubicka <jh@suse.cz>
PR other/49533

View File

@ -219,9 +219,7 @@ static rtx fill_slots_from_thread (rtx, rtx, rtx, rtx,
int *, rtx);
static void fill_eager_delay_slots (void);
static void relax_delay_slots (rtx);
#ifdef HAVE_return
static void make_return_insns (rtx);
#endif
/* A wrapper around next_active_insn which takes care to return ret_rtx
unchanged. */
@ -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
them into RETURN insns if the insns in the delay slot are valid for the
@ -3867,7 +3864,6 @@ make_return_insns (rtx first)
fill_simple_delay_slots (1);
fill_simple_delay_slots (0);
}
#endif
/* Try to find insns to place in delay slots. */