From 82b239054da5fcae11d01a055c277258cd73f235 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 24 Jan 2017 08:49:32 -0700 Subject: [PATCH] microblaze.h (ASM_FORMAT_PRIVATE_NAME): Increase buffer size. * config/microblaze/microblaze.h (ASM_FORMAT_PRIVATE_NAME): Increase buffer size. From-SVN: r244877 --- gcc/ChangeLog | 5 +++++ gcc/config/microblaze/microblaze.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f21bd83dc53..1deec60adf3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-01-24 Jeff Law + + * config/microblaze/microblaze.h (ASM_FORMAT_PRIVATE_NAME): Increase + buffer size. + 2017-01-24 Bin Cheng PR tree-optimization/79159 diff --git a/gcc/config/microblaze/microblaze.h b/gcc/config/microblaze/microblaze.h index 8fdadbf27a0..66e4ef5c3db 100644 --- a/gcc/config/microblaze/microblaze.h +++ b/gcc/config/microblaze/microblaze.h @@ -757,7 +757,7 @@ do { \ an assembler-name for a local static variable named NAME. LABELNO is an integer which is different for each call. */ #define ASM_FORMAT_PRIVATE_NAME(OUTPUT, NAME, LABELNO) \ -( (OUTPUT) = (char *) alloca (strlen ((NAME)) + 10), \ +( (OUTPUT) = (char *) alloca (strlen ((NAME)) + 13), \ sprintf ((OUTPUT), "%s.%lu", (NAME), (unsigned long)(LABELNO))) /* How to start an assembler comment. -- 2.30.2