From 84fa38d20a65e6d0dd5707c275acdb5cad3ceb5a Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Tue, 9 Jun 2020 21:54:35 +0200 Subject: [PATCH] asan: fix wrong options for a test-case. gcc/testsuite/ChangeLog: * c-c++-common/asan/inline-kernel.c: Add missing -fno-sanitize-address option. --- gcc/testsuite/c-c++-common/asan/inline-kernel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2