public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/ARM/heads/morello)] testsuite: Fix ASAN error [PR104687]
@ 2022-03-14 10:34 Matthew Malcomson
  0 siblings, 0 replies; only message in thread
From: Matthew Malcomson @ 2022-03-14 10:34 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:300d6771ec7ba7934061b9e23e59699ce3e74360

commit 300d6771ec7ba7934061b9e23e59699ce3e74360
Author: Martin Liska <mliska@suse.cz>
Date:   Fri Feb 25 15:08:44 2022 +0100

    testsuite: Fix ASAN error [PR104687]
    
            PR testsuite/104687
    
    gcc/testsuite/ChangeLog:
    
            * gcc.dg/lto/20090717_0.c: Fix asan error.

Diff:
---
 gcc/testsuite/gcc.dg/lto/20090717_0.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/lto/20090717_0.c b/gcc/testsuite/gcc.dg/lto/20090717_0.c
index fe13bdf78d4..41558df7a7c 100644
--- 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 } };


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-14 10:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-14 10:34 [gcc(refs/vendors/ARM/heads/morello)] testsuite: Fix ASAN error [PR104687] Matthew Malcomson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).