From: Jakub Jelinek Date: Tue, 12 May 2020 19:21:30 +0000 (+0200) Subject: testsuite: Fix up gcc.dg/asan/pr95051.c testcase [PR95051] X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac627eb4162d31aa4d009c3c9a8da7dfd6cc34e0;p=gcc.git testsuite: Fix up gcc.dg/asan/pr95051.c testcase [PR95051] asan.exp adds -fsanitize=address which is incompatible with -fsanitize=kernel-address, so we need to disable it first. 2020-05-12 Jakub Jelinek PR sanitizer/95051 * gcc.dg/asan/pr95051.c: Add -fno-sanitize=all to dg-options. --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8935bee0fbe..34f48e7f2a4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-05-12 Jakub Jelinek + + PR sanitizer/95051 + * gcc.dg/asan/pr95051.c: Add -fno-sanitize=all to dg-options. + 2020-05-12 Uroš Bizjak PR target/95046 diff --git a/gcc/testsuite/gcc.dg/asan/pr95051.c b/gcc/testsuite/gcc.dg/asan/pr95051.c index ec41a831299..caa5e667209 100644 --- a/gcc/testsuite/gcc.dg/asan/pr95051.c +++ b/gcc/testsuite/gcc.dg/asan/pr95051.c @@ -1,6 +1,6 @@ /* PR sanitizer/95051 */ /* { dg-do compile } */ -/* { dg-options "-fsanitize=kernel-address --param=asan-stack=1 -O2" } */ +/* { dg-options "-fno-sanitize=all -fsanitize=kernel-address --param=asan-stack=1 -O2" } */ struct a { struct {