Commit 47d5beb4 by Martin Sebor Committed by Martin Sebor

PR bootstrap/79033 - asan.c not compiling with make BOOT_CFLAGS=-O0

gcc/ChangeLog:
	* asan.c (asan_emit_stack_protection): Increase local buffer size
	to avoid snprintf truncation warning.

From-SVN: r244237
parent 2193ad7f
2017-01-09 Martin Sebor <msebor@redhat.com>
PR bootstrap/79033
* asan.c (asan_emit_stack_protection): Increase local buffer size
to avoid snprintf truncation warning.
2017-01-09 Andrew Pinski <apinski@cavium.com>
* config/aarch64/aarch64-cores.def: Add thunderx2t99. Change vulcan
......
......@@ -1068,7 +1068,7 @@ asan_emit_stack_protection (rtx base, rtx pbase, unsigned int alignb,
rtx shadow_base, shadow_mem, ret, mem, orig_base;
rtx_code_label *lab;
rtx_insn *insns;
char buf[30];
char buf[32];
unsigned char shadow_bytes[4];
HOST_WIDE_INT base_offset = offsets[length - 1];
HOST_WIDE_INT base_align_bias = 0, offset, prev_offset;
......
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