public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-4885] Disable warning for an ASAN test-case.
@ 2021-11-04  8:54 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2021-11-04  8:54 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:b9003cf734c88e871066d18f69413d23e292ee81

commit r12-4885-gb9003cf734c88e871066d18f69413d23e292ee81
Author: Martin Liska <mliska@suse.cz>
Date:   Thu Nov 4 09:53:38 2021 +0100

    Disable warning for an ASAN test-case.
    
    gcc/testsuite/ChangeLog:
    
            * g++.dg/asan/asan_test.C: Disable one warning.

Diff:
---
 gcc/testsuite/g++.dg/asan/asan_test.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/g++.dg/asan/asan_test.C b/gcc/testsuite/g++.dg/asan/asan_test.C
index 49933ab8e4d..15c338b8c16 100644
--- a/gcc/testsuite/g++.dg/asan/asan_test.C
+++ b/gcc/testsuite/g++.dg/asan/asan_test.C
@@ -2,7 +2,7 @@
 // { dg-skip-if "" { *-*-* } { "*" } { "-O2" } }
 // { dg-skip-if "" { *-*-* } { "-flto" } { "" } }
 // { dg-additional-sources "asan_globals_test-wrapper.cc" }
-// { dg-options "-std=c++11 -fsanitize=address -fno-builtin -Wall -Werror -Wno-alloc-size-larger-than -Wno-array-bounds -Wno-stringop-overflow -g -DASAN_UAR=0 -DASAN_HAS_EXCEPTIONS=1 -DASAN_HAS_BLACKLIST=0 -DSANITIZER_USE_DEJAGNU_GTEST=1 -lasan -lpthread" }
+// { dg-options "-std=c++11 -fsanitize=address -fno-builtin -Wall -Werror -Wno-alloc-size-larger-than -Wno-array-bounds -Wno-stringop-overflow -Wno-stringop-overread -g -DASAN_UAR=0 -DASAN_HAS_EXCEPTIONS=1 -DASAN_HAS_BLACKLIST=0 -DSANITIZER_USE_DEJAGNU_GTEST=1 -lasan -lpthread" }
 // { dg-additional-options "-ldl" { target { ! *-*-freebsd* } } }
 // { dg-additional-options "-DASAN_NEEDS_SEGV=1" { target { ! arm*-*-* } } }
 // { dg-additional-options "-DASAN_LOW_MEMORY=1 -DASAN_NEEDS_SEGV=0" { target arm*-*-* } }


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

only message in thread, other threads:[~2021-11-04  8:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-04  8:54 [gcc r12-4885] Disable warning for an ASAN test-case Martin Liska

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).