From: Juzhe-Zhong Date: Tue, 7 Nov 2023 13:30:14 +0000 (+0800) Subject: test: Fix FAIL of pr65518.c for RVV[PR112420] X-Git-Tag: basepoints/gcc-15~4918 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=beb1e2bf1bd4b7c8fc8d3dd450667344ae8e0aca;p=thirdparty%2Fgcc.git test: Fix FAIL of pr65518.c for RVV[PR112420] PR target/112420 gcc/testsuite/ChangeLog: * gcc.dg/vect/pr65518.c: Fix check for RVV. --- diff --git a/gcc/testsuite/gcc.dg/vect/pr65518.c b/gcc/testsuite/gcc.dg/vect/pr65518.c index 3e5b986183c0..189a65534f61 100644 --- a/gcc/testsuite/gcc.dg/vect/pr65518.c +++ b/gcc/testsuite/gcc.dg/vect/pr65518.c @@ -49,4 +49,6 @@ int main () sub-optimal and causes memory explosion (even though the cost model should reject that in the end). */ -/* { dg-final { scan-tree-dump-times "vectorized 0 loops in function" 2 "vect" } } */ +/* { dg-final { scan-tree-dump-times "vectorized 0 loops in function" 2 "vect" { target {! riscv*-*-* } } } } */ +/* We end up using gathers for the strided load on RISC-V which would be OK. */ +/* { dg-final { scan-tree-dump "using gather/scatter for strided/grouped access" "vect" { target { riscv*-*-* } } } } */