projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
240334e
)
* gcc.target/i386/pr71801.c (uuidcache_init): Fix up size of d array.
author
Jakub Jelinek
<jakub@gcc.gnu.org>
Mon, 7 Oct 2019 15:49:52 +0000
(17:49 +0200)
committer
Jakub Jelinek
<jakub@gcc.gnu.org>
Mon, 7 Oct 2019 15:49:52 +0000
(17:49 +0200)
From-SVN: r276664
gcc/testsuite/gcc.target/i386/pr71801.c
patch
|
blob
|
history
diff --git
a/gcc/testsuite/gcc.target/i386/pr71801.c
b/gcc/testsuite/gcc.target/i386/pr71801.c
index 8db137ec5b7d08fef0da5524e7b4d00b25612c82..4f1cb190233930a958ff3452a966554fe5a97507 100644
(file)
--- 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);
}