From: Jeff Law Date: Wed, 18 Jul 2018 04:55:03 +0000 (-0600) Subject: arm.c (get_label_padding): Update for recent changes to label_to_alignment. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=df6a7b9d37edc1da49c5eec4963b7df3e3781d7a;p=gcc.git arm.c (get_label_padding): Update for recent changes to label_to_alignment. * config/arm/arm.c (get_label_padding): Update for recent changes to label_to_alignment. From-SVN: r262848 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bccc0c76b04..0249082f618 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,8 @@ 2018-07-17 Jeff Law + * config/arm/arm.c (get_label_padding): Update for recent + changes to label_to_alignment. + PR tree-optimization/86010 * tree-ssa-dse.c (compute_trims): Fix typo/thinko. diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index ec3abbcba9f..cf12aceb5fd 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -15938,7 +15938,7 @@ get_label_padding (rtx label) { HOST_WIDE_INT align, min_insn_size; - align = 1 << label_to_alignment (label); + align = 1 << label_to_alignment (label).levels[0].log; min_insn_size = TARGET_THUMB ? 2 : 4; return align > min_insn_size ? align - min_insn_size : 0; }