On Fri, May 10, 2024 at 6:01 AM Patrick O'Neill <patr...@rivosinc.com> wrote: > > Hi Christoph, > > cpymemsi-1.c fails on a subset of newlib targets. > > "UNRESOLVED: gcc.target/riscv/cpymemsi-1.c -O0 compilation failed to > produce executable" > > Full list of failing targets here (New Failures section): > https://github.com/patrick-rivos/gcc-postcommit-ci/issues/906
Thanks for reporting! I'm having a hard time figuring out what the issue is here, as I can't reproduce it locally. This test is an execution test ("dg-do run"), so I wonder if this might be the issue? Thanks, Christoph > > Thanks, > > Patrick > > On 5/7/24 22:52, Christoph Müllner wrote: > > cpymemsi expansion was available for RISC-V since the initial port. > > However, there are not tests to detect regression. > > This patch adds such tests. > > > > Three of the tests target the expansion requirements (known length and > > alignment). One test reuses an existing memcpy test from the by-pieces > > framework (gcc/testsuite/gcc.dg/torture/inline-mem-cpy-1.c). > > > > gcc/testsuite/ChangeLog: > > > > * gcc.target/riscv/cpymemsi-1.c: New test. > > * gcc.target/riscv/cpymemsi-2.c: New test. > > * gcc.target/riscv/cpymemsi-3.c: New test. > > * gcc.target/riscv/cpymemsi.c: New test. > > > > Signed-off-by: Christoph Müllner <christoph.muell...@vrull.eu> > > ---