From: Jeff Law Date: Tue, 17 Jul 2018 20:23:25 +0000 (-0600) Subject: nios2.c (nios2_label_align): Update for recent changes which dropped ALIGN_LABELS_LOG. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d84916bd0d00ae3949589d306a6a68f5671e1ad2;p=gcc.git nios2.c (nios2_label_align): Update for recent changes which dropped ALIGN_LABELS_LOG. * config/nios2/nios2.c (nios2_label_align): Update for recent changes which dropped ALIGN_LABELS_LOG. From-SVN: r262836 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2e724217fa4..d8057a074a1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-07-17 Jeff Law + + * config/nios2/nios2.c (nios2_label_align): Update for recent + changes which dropped ALIGN_LABELS_LOG. + 2018-07-17 Andreas Schwab * config/m68k/m68k.md (umulsi3_highpart+1, const_umulsi3_highpart) diff --git a/gcc/config/nios2/nios2.c b/gcc/config/nios2/nios2.c index 3581ad9340d..344181a496b 100644 --- a/gcc/config/nios2/nios2.c +++ b/gcc/config/nios2/nios2.c @@ -5403,8 +5403,8 @@ nios2_label_align (rtx label) int n = CODE_LABEL_NUMBER (label); if (label_align && n >= min_labelno && n <= max_labelno) - return MAX (label_align[n - min_labelno], align_labels_log); - return align_labels_log; + return MAX (label_align[n - min_labelno], align_labels.levels[0].log); + return align_labels.levels[0].log; } /* Implement ADJUST_REG_ALLOC_ORDER. We use the default ordering