Commit 6f8bb763 by Rainer Orth Committed by Rainer Orth

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
parent 112a6193
2016-11-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* varasm.c (assemble_start_function): Wrap align_log definition in
ASM_OUTPUT_MAX_SKIP_ALIGN.
2016-11-24 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (wide AND insn to QImode splitter): Use
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment