Similar to the others...

Committed to the trunk.

Jeff
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 51e91221147..ac4abdaf1ba 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
 2018-07-17  Jeff Law  <l...@redhat.com>
 
+       * config/mips/mips.c (vr4130_align_insns): Update for recent
+       changes to label_to_alignment.
+
        * config/frv/frv.c (frv_label_align): Update for recent changes
        to label_to_alignment.
 
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index 75ee834137e..ea2fae1d6db 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -18539,7 +18539,7 @@ vr4130_align_insns (void)
        }
 
       /* See whether INSN is an aligned label.  */
-      if (LABEL_P (insn) && label_to_alignment (insn) >= 3)
+      if (LABEL_P (insn) && label_to_alignment (insn).levels[0].log >= 3)
        aligned_p = true;
     }
   dfa_finish ();

Reply via email to