Commit f408477e by Christian Bruel Committed by Christian Bruel

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
parent 4b1d4198
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> 2013-04-09 Jan Hubicka <jh@suse.cz>
* ipa.c (cgraph_externally_visible_p, varpool_externally_visible_p): Drop * ipa.c (cgraph_externally_visible_p, varpool_externally_visible_p): Drop
......
...@@ -5842,7 +5842,7 @@ fixup_addr_diff_vecs (rtx first) ...@@ -5842,7 +5842,7 @@ fixup_addr_diff_vecs (rtx first)
int int
barrier_align (rtx barrier_or_label) 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) if (! next)
return 0; return 0;
...@@ -5856,7 +5856,7 @@ barrier_align (rtx barrier_or_label) ...@@ -5856,7 +5856,7 @@ barrier_align (rtx barrier_or_label)
/* This is a barrier in front of a constant table. */ /* This is a barrier in front of a constant table. */
return 0; return 0;
prev = prev_real_insn (barrier_or_label); prev = prev_active_insn (barrier_or_label);
if (GET_CODE (PATTERN (prev)) == ADDR_DIFF_VEC) if (GET_CODE (PATTERN (prev)) == ADDR_DIFF_VEC)
{ {
pat = PATTERN (prev); pat = PATTERN (prev);
......
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