From 22ab45296cf5c7cc53234f1e8065fc2f04adf0b7 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 17 Jul 2018 14:30:49 -0600 Subject: [PATCH] frv.c (frv_label_align): Update for recent changes to label_to_alignment. * config/frv/frv.c (frv_label_align): Update for recent changes to label_to_alignment. From-SVN: r262837 --- gcc/ChangeLog | 3 +++ gcc/config/frv/frv.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d8057a074a1..51e91221147 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2018-07-17 Jeff Law + * config/frv/frv.c (frv_label_align): Update for recent changes + to label_to_alignment. + * config/nios2/nios2.c (nios2_label_align): Update for recent changes which dropped ALIGN_LABELS_LOG. diff --git a/gcc/config/frv/frv.c b/gcc/config/frv/frv.c index 78f1a80cdf9..6920e6ddace 100644 --- a/gcc/config/frv/frv.c +++ b/gcc/config/frv/frv.c @@ -7936,7 +7936,7 @@ frv_align_label (void) { if (LABEL_P (x)) { - unsigned int subalign = 1 << label_to_alignment (x); + unsigned int subalign = 1 << label_to_alignment (x).levels[0].log; alignment = MAX (alignment, subalign); label = x; } -- 2.30.2