diff options
author | Andreas Schwab <schwab@suse.de> | 2023-05-29 09:33:52 +0200 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2023-05-30 11:18:08 +0200 |
commit | 456cf52c0d35bdf66f5d86cce45a6af49a9ce1d8 (patch) | |
tree | 7adec72e72df75078797b33d28ec4ea1ba440805 /gcc | |
parent | 21a07620f4bfe38f12e6d5be8b1eeecc29fa6852 (diff) | |
download | gcc-456cf52c0d35bdf66f5d86cce45a6af49a9ce1d8.zip gcc-456cf52c0d35bdf66f5d86cce45a6af49a9ce1d8.tar.gz gcc-456cf52c0d35bdf66f5d86cce45a6af49a9ce1d8.tar.bz2 |
riscv: add work around for PR sanitizer/82501
gcc/testsuite/
PR sanitizer/82501
* c-c++-common/asan/pointer-compare-1.c: Disable use of small data
on RISC-V.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/c-c++-common/asan/pointer-compare-1.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/testsuite/c-c++-common/asan/pointer-compare-1.c b/gcc/testsuite/c-c++-common/asan/pointer-compare-1.c index 4b558bf..fb9126d 100644 --- a/gcc/testsuite/c-c++-common/asan/pointer-compare-1.c +++ b/gcc/testsuite/c-c++-common/asan/pointer-compare-1.c @@ -5,6 +5,7 @@ /* FIXME: remove me after PR sanitizer/82501 is resolved. */ /* { dg-additional-options "-fno-section-anchors" } */ /* { dg-additional-options "-msdata=none" { target { powerpc*-*-* } } } */ +/* { dg-additional-options "-msmall-data-limit=0" { target { riscv*-*-* } } } */ volatile int v; |