From: Martin Liska Date: Tue, 9 Jun 2020 19:54:35 +0000 (+0200) Subject: asan: fix wrong options for a test-case. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=84fa38d20a65e6d0dd5707c275acdb5cad3ceb5a;p=gcc.git asan: fix wrong options for a test-case. gcc/testsuite/ChangeLog: * c-c++-common/asan/inline-kernel.c: Add missing -fno-sanitize-address option. --- diff --git a/gcc/testsuite/c-c++-common/asan/inline-kernel.c b/gcc/testsuite/c-c++-common/asan/inline-kernel.c index 4ca739b5d04..d0da54a2a98 100644 --- a/gcc/testsuite/c-c++-common/asan/inline-kernel.c +++ b/gcc/testsuite/c-c++-common/asan/inline-kernel.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-fsanitize=kernel-address -c -O3 -fdump-tree-optimized" } */ +/* { dg-options "-fno-sanitize=address -fsanitize=kernel-address -c -O3 -fdump-tree-optimized" } */ int x;