From: Tamar Christina Date: Thu, 31 Aug 2017 10:54:38 +0000 (+0000) Subject: aarch64-builtins.c (aarch64_init_simd_builtins): Resize type_signature. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cae83731bfaa81c72f3a1eb897ce463c46c461aa;p=gcc.git aarch64-builtins.c (aarch64_init_simd_builtins): Resize type_signature. 2017-08-31 Tamar Christina * config/aarch64/aarch64-builtins.c (aarch64_init_simd_builtins): Resize type_signature. From-SVN: r251558 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index dfde0b01185..239c9339063 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-08-31 Tamar Christina + + * config/aarch64/aarch64-builtins.c (aarch64_init_simd_builtins): + Resize type_signature. + 2017-08-31 Richard Sandiford Alan Hayward David Sherwood diff --git a/gcc/config/aarch64/aarch64-builtins.c b/gcc/config/aarch64/aarch64-builtins.c index 25ee5129f62..7edf75c52ef 100644 --- a/gcc/config/aarch64/aarch64-builtins.c +++ b/gcc/config/aarch64/aarch64-builtins.c @@ -754,7 +754,7 @@ aarch64_init_simd_builtins (void) for (i = 0; i < ARRAY_SIZE (aarch64_simd_builtin_data); i++, fcode++) { bool print_type_signature_p = false; - char type_signature[SIMD_MAX_BUILTIN_ARGS] = { 0 }; + char type_signature[SIMD_MAX_BUILTIN_ARGS + 1] = { 0 }; aarch64_simd_builtin_datum *d = &aarch64_simd_builtin_data[i]; char namebuf[60]; tree ftype = NULL;