Message ID | 20191007155153.GL15914@tucnak |
---|---|
State | New |
Headers | show |
Series | [committed] Fix up gcc.target/i386/pr71801.c testcase | expand |
--- gcc/testsuite/gcc.target/i386/pr71801.c.jj 2016-07-11 22:18:04.470879189 +0200 +++ gcc/testsuite/gcc.target/i386/pr71801.c 2019-10-07 17:39:44.310698244 +0200 @@ -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[sizeof(a) + sizeof(c)]; get_label_uuid(d); uuidcache_addentry(d); }