From: Jakub Jelinek Date: Mon, 7 Oct 2019 15:49:52 +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=0b06099d407225a28f12ed600ae561aa8317dfc9;p=gcc.git * gcc.target/i386/pr71801.c (uuidcache_init): Fix up size of d array. From-SVN: r276664 --- diff --git a/gcc/testsuite/gcc.target/i386/pr71801.c b/gcc/testsuite/gcc.target/i386/pr71801.c index 8db137ec5b7..4f1cb190233 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[16]; + char d[sizeof(a) + sizeof(c)]; get_label_uuid(d); uuidcache_addentry(d); }