microblaze.h (ASM_FORMAT_PRIVATE_NAME): Increase buffer size.
authorJeff Law <law@redhat.com>
Tue, 24 Jan 2017 15:49:32 +0000 (08:49 -0700)
committerJeff Law <law@gcc.gnu.org>
Tue, 24 Jan 2017 15:49:32 +0000 (08:49 -0700)
* config/microblaze/microblaze.h (ASM_FORMAT_PRIVATE_NAME): Increase
buffer size.

From-SVN: r244877

gcc/ChangeLog
gcc/config/microblaze/microblaze.h

index f21bd83dc537033eae659c4acd7257b2089bc493..1deec60adf3655ce530f0b13d9e94b79bd7b2afb 100644 (file)
@@ -1,3 +1,8 @@
+2017-01-24 Jeff Law  <law@redhat.com>
+
+       * config/microblaze/microblaze.h (ASM_FORMAT_PRIVATE_NAME): Increase
+       buffer size.
+
 2017-01-24  Bin Cheng  <bin.cheng@arm.com>
 
        PR tree-optimization/79159
index 8fdadbf27a05ead58c4769f4a9233d42e8891b27..66e4ef5c3dba8343dedcdd0d0a09659ae13562bc 100644 (file)
@@ -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.