From: Jeff Law Date: Tue, 17 Jul 2018 20:52:20 +0000 (-0600) Subject: mips.c (vr4130_align_insns): Update for recent changes to label_to_alignment. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c179c2dd0988dd1e0c241a6c5f1dc512cc55ae1;p=gcc.git mips.c (vr4130_align_insns): Update for recent changes to label_to_alignment. * config/mips/mips.c (vr4130_align_insns): Update for recent changes to label_to_alignment. From-SVN: r262838 --- 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 + * 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 ();