diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2017-12-05 10:03:56 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2017-12-05 10:03:56 +0000 |
commit | bf2f5c8979022da8fc521e5e7e488e77478194f2 (patch) | |
tree | 7b8ed13fd69bbd4af7ea360aeac365bfbd156416 /gcc/dbxout.c | |
parent | 05abad4cca62d3725175ccf628b74638fe43e043 (diff) |
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
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r-- | gcc/dbxout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index 6976388315e..290f11b3c46 100644 --- a/gcc/dbxout.c +++ b/gcc/dbxout.c @@ -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, either at this level or any lower level, we need to emit an empty LBRAC/RBRAC pair now. */ - char buf[20]; + char buf[30]; const char *scope_start; ret = true; |