From: Rainer Orth Date: Thu, 24 Nov 2016 22:30:54 +0000 (+0000) Subject: Fix bootstrap with !ASM_OUTPUT_MAX_SKIP_ALIGN X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6f8bb7637206ba0ea0b736dc3528bbb76d074c47;p=gcc.git Fix bootstrap with !ASM_OUTPUT_MAX_SKIP_ALIGN * varasm.c (assemble_start_function): Wrap align_log definition in ASM_OUTPUT_MAX_SKIP_ALIGN. From-SVN: r242853 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4244a98fd95..9e4c9b3b070 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2016-11-24 Rainer Orth + + * varasm.c (assemble_start_function): Wrap align_log definition in + ASM_OUTPUT_MAX_SKIP_ALIGN. + 2016-11-24 Uros Bizjak * config/i386/i386.md (wide AND insn to QImode splitter): Use diff --git a/gcc/varasm.c b/gcc/varasm.c index 54e06acd542..1e7c2b523c1 100644 --- a/gcc/varasm.c +++ b/gcc/varasm.c @@ -1791,7 +1791,9 @@ assemble_start_function (tree decl, const char *fnname) && align_functions_log > align && optimize_function_for_speed_p (cfun)) { +#ifdef ASM_OUTPUT_MAX_SKIP_ALIGN int align_log = align_functions_log; +#endif int max_skip = align_functions - 1; if (flag_limit_function_alignment && crtl->max_insn_address > 0 && max_skip >= crtl->max_insn_address)