From: Jakub Jelinek Date: Mon, 7 Oct 2019 15:44:55 +0000 (+0200) Subject: * gcc.target/i386/pr71801.c (uuidcache_init): Fix up size of d array. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=240334e0847ea4185539e3dfef1ab8709bc04d88;p=gcc.git * gcc.target/i386/pr71801.c (uuidcache_init): Fix up size of d array. From-SVN: r276663 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e851acdd47f..ddf94bc9cea 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-10-07 Jakub Jelinek + + * gcc.target/i386/pr71801.c (uuidcache_init): Fix up size of d array. + 2019-10-07 Paolo Carlini * g++.dg/diagnostic/not-a-function-template-1.C: New. diff --git a/gcc/testsuite/gcc.target/i386/pr71801.c b/gcc/testsuite/gcc.target/i386/pr71801.c index 6c87522f31d..8db137ec5b7 100644 --- a/gcc/testsuite/gcc.target/i386/pr71801.c +++ b/gcc/testsuite/gcc.target/i386/pr71801.c @@ -16,7 +16,7 @@ static int get_label_uuid(char *p1) { } void uuidcache_addentry(char *p1) { __builtin_memcpy(&c, p1, sizeof(c)); } void uuidcache_init() { - char d[1]; + char d[16]; get_label_uuid(d); uuidcache_addentry(d); }