sh.md (barrier_align): Use next/prev_active_insn instead of next/prev_real_insn.

*  config/sh/sh.md (barrier_align): Use next/prev_active_insn instead
of next/prev_real_insn.

From-SVN: r197664
This commit is contained in:
Christian Bruel 2013-04-10 09:52:00 +02:00 committed by Christian Bruel
parent 4b1d419827
commit f408477e6d
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-04-09 Christian Bruel <christian.bruel@st.com>
* config/sh/sh.md (barrier_align): Use next/prev_active_insn instead
of next/prev_real_insn.
2013-04-09 Jan Hubicka <jh@suse.cz>
* ipa.c (cgraph_externally_visible_p, varpool_externally_visible_p): Drop

View File

@ -5842,7 +5842,7 @@ fixup_addr_diff_vecs (rtx first)
int
barrier_align (rtx barrier_or_label)
{
rtx next = next_real_insn (barrier_or_label), pat, prev;
rtx next = next_active_insn (barrier_or_label), pat, prev;
if (! next)
return 0;
@ -5856,7 +5856,7 @@ barrier_align (rtx barrier_or_label)
/* This is a barrier in front of a constant table. */
return 0;
prev = prev_real_insn (barrier_or_label);
prev = prev_active_insn (barrier_or_label);
if (GET_CODE (PATTERN (prev)) == ADDR_DIFF_VEC)
{
pat = PATTERN (prev);