projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d54cdd1
)
testsuite: Fix ASAN error [PR104687]
author
Martin Liska
<mliska@suse.cz>
Fri, 25 Feb 2022 14:08:44 +0000
(15:08 +0100)
committer
Martin Liska
<mliska@suse.cz>
Fri, 25 Feb 2022 14:08:44 +0000
(15:08 +0100)
PR testsuite/104687
gcc/testsuite/ChangeLog:
* gcc.dg/lto/20090717_0.c: Fix asan error.
gcc/testsuite/gcc.dg/lto/20090717_0.c
patch
|
blob
|
history
diff --git
a/gcc/testsuite/gcc.dg/lto/20090717_0.c
b/gcc/testsuite/gcc.dg/lto/20090717_0.c
index
fe13bdf
..
41558df
100644
(file)
--- a/
gcc/testsuite/gcc.dg/lto/20090717_0.c
+++ b/
gcc/testsuite/gcc.dg/lto/20090717_0.c
@@
-1,4
+1,4
@@
struct variable {
const char *string;
};
-struct variable table[] = { };
+struct variable table[] = {
{ 0 }
};