On 10/4/23 12:19, Joern Rennecke wrote: > On Wed, 4 Oct 2023 at 18:38, Patrick O'Neill wrote: >> Hi Joern, >> >> I'm seeing new failures introduced by this patch >> (9464e72bcc9123b619215af8cfef491772a3ebd9). >> >> On rv64gcv: >> FAIL: gcc.dg/pr90263.c scan-assembler memcpy > My testing didn't flag this because I used elf targets. The > expected behaviour now is to use vector instructions for rvv. > so we shouldn't expect memcpy to appear there. I think the > rvv case is suitably covered by the new tests, so we just > have to avoid the failure here. Does the attached patch work for you? Thanks for the quick response. I'm glad to hear the behavior is expected :) The attached patch works, just needed some syntax changes: ERROR: gcc.dg/pr90263.c: error executing dg-final: syntax error in target selector "target i?86-*-* x86_64-*-* riscv_v" Diff w/ syntax changes: diff --git a/gcc/testsuite/gcc.dg/pr90263.c b/gcc/testsuite/gcc.dg/pr90263.c index 3222a5331c1..4044e6b1544 100644 --- a/gcc/testsuite/gcc.dg/pr90263.c +++ b/gcc/testsuite/gcc.dg/pr90263.c @@ -9,4 +9,4 @@ int *f (int *p, int *q, long n) } /* { dg-final { scan-assembler "mempcpy" { target { i?86-*-* x86_64-*-* } } } } */ -/* { dg-final { scan-assembler "memcpy" { target { ! { i?86-*-* x86_64-*-* } } } } } */ +/* { dg-final { scan-assembler "memcpy" { target { ! { { i?86-*-* x86_64-*-* } || { riscv_v } } } } } } */ I'll send it as a patch shortly. Patrick >> FAIL: gfortran.fortran-torture/execute/intrinsic_count.f90 execution, >> -O2 -fomit-frame-pointer -finline-functions -funroll-loops > There seems to be an issue with my test setup regarding fortran, I'll > have to investigate.