asan: fix wrong options for a test-case.
authorMartin Liska <mliska@suse.cz>
Tue, 9 Jun 2020 19:54:35 +0000 (21:54 +0200)
committerMartin Liska <mliska@suse.cz>
Tue, 9 Jun 2020 20:05:17 +0000 (22:05 +0200)
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

index 4ca739b5d04e9ca15a63e219a9d95b773247dc9b..d0da54a2a9838f2f7479eb0fadd44606496c2c3a 100644 (file)
@@ -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;