sh.md (barrier_align): Use next/prev_active_insn instead of next/prev_real_insn.
authorChristian Bruel <christian.bruel@st.com>
Wed, 10 Apr 2013 07:52:00 +0000 (09:52 +0200)
committerChristian Bruel <chrbr@gcc.gnu.org>
Wed, 10 Apr 2013 07:52:00 +0000 (09:52 +0200)
*  config/sh/sh.md (barrier_align): Use next/prev_active_insn instead
of next/prev_real_insn.

From-SVN: r197664

gcc/ChangeLog
gcc/config/sh/sh.c

index a623e88b80a9f4b088a3657181332123bd1d4487..a74432745ffd229ebda640c801ae9948f940a0c4 100644 (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
index ccf0ffe21082cadae35f86d3397f44e87a227e5f..a4bb62a394d4efa1fb00589124429f48dd45a005 100644 (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);