Commit bf2f5c89 by Rainer Orth Committed by Rainer Orth

Avoid -Werror=format-overflow error in dbxout.c (dbxout_block) on 64-bit Solaris/SPARC

	* dbxout.c (dbxout_block): Grow buf to 30 bytes.

From-SVN: r255406
parent 05abad4c
2017-12-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* dbxout.c (dbxout_block): Grow buf to 30 bytes.
2017-12-05 Martin Liska <mliska@suse.cz> 2017-12-05 Martin Liska <mliska@suse.cz>
Jakub Jelinek <jakub@redhat.com> Jakub Jelinek <jakub@redhat.com>
...@@ -3844,7 +3844,7 @@ dbxout_block (tree block, int depth, tree args, int parent_blocknum) ...@@ -3844,7 +3844,7 @@ dbxout_block (tree block, int depth, tree args, int parent_blocknum)
/* If we emitted any vars and didn't output any LBRAC/RBRAC, /* If we emitted any vars and didn't output any LBRAC/RBRAC,
either at this level or any lower level, we need to emit either at this level or any lower level, we need to emit
an empty LBRAC/RBRAC pair now. */ an empty LBRAC/RBRAC pair now. */
char buf[20]; char buf[30];
const char *scope_start; const char *scope_start;
ret = true; ret = true;
......
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