From: Jeff Law Date: Tue, 17 Jul 2018 20:30:49 +0000 (-0600) Subject: frv.c (frv_label_align): Update for recent changes to label_to_alignment. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=22ab45296cf5c7cc53234f1e8065fc2f04adf0b7;p=gcc.git 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 --- 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; }