From 9c179c2dd0988dd1e0c241a6c5f1dc512cc55ae1 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 17 Jul 2018 14:52:20 -0600 Subject: [PATCH] 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 --- gcc/ChangeLog | 3 +++ gcc/config/mips/mips.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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 (); -- 2.30.2